[Bug fortran/53148] [4.7 Regression] Incorrect intrinsic function parsing on labeled statements when compiled w/ -ffrontend-optimize
jsm28 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 21 15:13:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53148
--- Comment #7 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2012-05-21 14:42:40 UTC ---
Author: jsm28
Date: Mon May 21 14:42:26 2012
New Revision: 187718
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187718
Log:
PR c/53148
* 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:
trunk/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
trunk/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list