[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 12 20:26:00 GMT 2009



------- Comment #6 from jason at gcc dot gnu dot org  2009-11-12 20:26 -------
Subject: Bug 42013

Author: jason
Date: Thu Nov 12 20:26:36 2009
New Revision: 154129

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154129
Log:
        PR c++/42013
        * call.c (build_conditional_expr): Check specifically for folding
        to CALL_EXPR rather than TREE_SIDE_EFFECTS.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype19.C


-- 


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



More information about the Gcc-bugs mailing list