[Bug tree-optimization/52286] [4.6 Regression] wrong code bug
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 23 18:25:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-23 18:20:26 UTC ---
Author: jakub
Date: Thu Feb 23 18:20:19 2012
New Revision: 184520
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184520
Log:
Backported from trunk
2012-02-20 Georg-Johann Lay <avr@gjlay.de>
* gcc.c-torture/execute/pr52286.c: Fix FAIL on 16-bit int platforms.
2012-02-20 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/52286
* fold-const.c (fold_binary_loc): For (X & C1) | C2
optimization use double_int_to_tree instead of build_int_cst_wide,
rewrite to use double_int vars.
* gcc.c-torture/execute/pr52286.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/execute/pr52286.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/fold-const.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list