This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48305] [4.7 Regression] ice at -O0: verify_gimple failed
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 12:36:38 +0000
- Subject: [Bug c/48305] [4.7 Regression] ice at -O0: verify_gimple failed
- Auto-submitted: auto-generated
- References: <bug-48305-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48305
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-30 12:36:27 UTC ---
Author: jakub
Date: Wed Mar 30 12:36:18 2011
New Revision: 171723
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171723
Log:
PR c/48305
* fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure
arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to
matching arg00/arg01 types.
* gcc.c-torture/compile/pr48305.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr48305.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog