re PR c++/9559 (ICE with invalid initialization of a static const member)
authorMark Mitchell <mark@codesourcery.com>
Tue, 1 Jul 2003 07:17:03 +0000 (07:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Jul 2003 07:17:03 +0000 (07:17 +0000)
commitc9bdad35171f64bcabad635254fa9f3dfc05a376
treef2f9a261b4cf18d6e140bbab31634afdd0b9ef98
parent04df67304adf7136ed6aeaf6589755a00c3ac1a2
re PR c++/9559 (ICE with invalid initialization of a static const member)

PR c++/9559
* decl2.c (grokfield): Do not build NOP_EXPRs around the
error_mark_node.

PR c++/9559
* g++.dg/init/static1.C: New test.

From-SVN: r68764
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/static1.C [new file with mode: 0644]