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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-21 
15:25:14 UTC ---
(In reply to comment #3)
> Testing a patch.

Which was seemingly committed (with the wrong PR number in the ChangeLog);
commit log copied from PR fortran/53148 [I've edited the PR in the log below]:


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/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:
    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

Reply via email to