[Bug c++/28347] [4.1/4.2 regression] ICE on typedef with initialization
lmillward at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 4 18:08:00 GMT 2006
------- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-04 18:08 -------
Subject: Bug 28347
Author: lmillward
Date: Fri Aug 4 18:08:14 2006
New Revision: 115931
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115931
Log:
PR c++/28347
* decl.c (start_decl): Return error_mark_node if a
diagnostic was issed for an invalid typedef initialization.
* g++.dg/ext/typedef-init.C: Add new test for
typedef initialization inside templates. Adjust
existing error markers
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/ext/typedef-init.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28347
More information about the Gcc-bugs
mailing list