This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]