This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Jun 2012 14:39:40 +0000
- Subject: [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
- Auto-submitted: auto-generated
- References: <bug-53418-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53418
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-20 14:39:40 UTC ---
Author: rguenth
Date: Wed Jun 20 14:39:36 2012
New Revision: 188837
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188837
Log:
2012-06-20 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-05-21 Joseph Myers <joseph@codesourcery.com>
PR c/53418
* c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
from folded operands before wrapping another around the
conditional expression.
* gcc.c-torture/compile/pr53418-1.c,
gcc.c-torture/compile/pr53418-2.c: New tests.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/c-typeck.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog