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/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53418

--- Comment #5 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2012-05-21 16:47:47 UTC ---
Author: jsm28
Date: Mon May 21 16:47:32 2012
New Revision: 187726

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187726
Log:
    PR c/53418
    * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
    from folded operands before wrapping another around the
    conditional expression.

testsuite:
    * gcc.c-torture/compile/pr53418-1.c,
    gcc.c-torture/compile/pr53418-2.c: New tests.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/c-typeck.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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