]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/init.c
init.c (decl_constant_value): Deal with COND_EXPR specially.
authorMark Mitchell <mark@codesourcery.com>
Fri, 29 Aug 2003 02:50:10 +0000 (02:50 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 29 Aug 2003 02:50:10 +0000 (02:50 +0000)
commita1652802438d07879f83cc1f018f72fcabcba839
tree78da144d2f561564fbbafd52691da9046e9cc06b
parent2be570f916a5bfa25b09f4acd44c14f5df662889
init.c (decl_constant_value): Deal with COND_EXPR specially.

* init.c (decl_constant_value): Deal with COND_EXPR specially.
* call.c (build_conditional_expr): Revert previous patch.

* g++.dg/expr/cond3.C: New test.

From-SVN: r70899
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/cond3.C [new file with mode: 0644]
This page took 0.056086 seconds and 5 git commands to generate.