[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 6 13:37:00 GMT 2005
------- Comment #12 from rguenth at gcc dot gnu dot org 2005-12-06 13:37 -------
Note that in the reduced testcase we have
pr25248.c: In function ?htab_bolt_mapping?:
pr25248.c:15: warning: integer constant is too large for ?unsigned long? type
pr25248.c: In function ?main?:
pr25248.c:24: warning: integer constant is too large for ?unsigned long? type
pr25248.c:24: warning: large integer implicitly truncated to unsigned type
because on ppc64 long is 4 bytes. Using long long fixes the problem. Can
someone confirm that this is also the problem with the original testcase (and
close the bug as INVALID)?
Thanks.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248
More information about the Gcc-bugs
mailing list