This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r109036 - in /branches/gcc-4_1-branch/gcc: Chan...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 24 Dec 2005 08:56:12 -0000
- Subject: r109036 - in /branches/gcc-4_1-branch/gcc: Chan...
Author: mmitchel
Date: Sat Dec 24 08:56:10 2005
New Revision: 109036
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109036
Log:
PR c++/23171
* varasm.c (initializer_constant_valid_p): An ADDR_EXPR of a
CONSTRUCTOR is invalid.
PR c++/23171
* g++.dg/opt/init1.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/init1.C
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/varasm.c