OSDN Git Service

PR c++/42013
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Nov 2009 18:25:42 +0000 (18:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Nov 2009 18:25:42 +0000 (18:25 +0000)
commit70efee89fba867634dd3d93436cdce7de05a3b04
tree11455813d31d0bd5a499463d3f1bf40fc9518d77
parentbb6d46034d4ccdfa9f81e09565e145232cfc8aea
PR c++/42013
* call.c (build_conditional_expr): Don't fold a TREE_SIDE_EFFECTS
COND_EXPR in unevaluated context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154124 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype19.C [new file with mode: 0644]