[Bug tree-optimization/63302] [4.9 Regression] Code with 64-bit long long constants is miscompiled on 32-bit host
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 10:54:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63302
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 17 10:53:36 2014
New Revision: 216392
URL: https://gcc.gnu.org/viewcvs?rev=216392&root=gcc&view=rev
Log:
PR tree-optimization/63302
* tree-ssa-reassoc.c (optimize_range_tests_xor,
optimize_range_tests_diff): Use !integer_pow2p () instead of
tree_log2 () < 0.
* gcc.c-torture/execute/pr63302.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr63302.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
branches/gcc-4_9-branch/gcc/tree-ssa-reassoc.c
More information about the Gcc-bugs
mailing list