Remove const attribute on get_log2

This function is not const, as it can modify log2_m and log2_m_inited.
This commit is contained in:
Peter Collingbourne 2013-05-13 08:36:12 -07:00 committed by Richard Henderson
parent c5d9b39ce6
commit f137ff1383
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-05-13 Peter Collingbourne <pcc@google.com>
* math/atest-exp2.c (get_log2): Remove const attribute.
2013-05-15 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (struct test_f_l_data): New type.

View file

@ -77,7 +77,6 @@ read_mpn_hex(mp_limb_t *x, const char *str)
<< (FRAC - i * 4 - 4) % mpbpl);
}
static mp_limb_t *get_log2(void) __attribute__((const));
static mp_limb_t *
get_log2(void)
{