This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/6667: ICE on illegal code (regression from 3.0.4)
- From: pcarlini at unitus dot it
- To: gcc-gnats at gcc dot gnu dot org
- Date: 15 May 2002 20:05:01 -0000
- Subject: c++/6667: ICE on illegal code (regression from 3.0.4)
- Reply-to: pcarlini at unitus dot it
>Number: 6667
>Category: c++
>Synopsis: ICE on illegal code (regression from 3.0.4)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 15 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Paolo Carlini
>Release: 3.1
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
g++3.1 (and current 3.2) ICE on this tiny snippet:
#include <vector>
class MyyClass {
std::vector v;
};
reduced.cc:4: `template<class _Tp, class _Alloc> class std::vector' as
declarator
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
This is a regression wrt 3.0.4, which, instead:
reduced.cc:4: `template<_Tp, _Alloc> class std::vector' as declarator (compiler
error)
reduced.cc:4: syntax error before `;' token
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: