This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14427] New: ICE (segfault) putting "class" before non-class type
- From: "luked at xplantechnology dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2004 06:35:53 -0000
- Subject: [Bug c++/14427] New: ICE (segfault) putting "class" before non-class type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This code causes an ICE in gcc versions 3.3.3, 3.3.2, 3.0.4, 2.96-redhat
/*** begin code: bug.cc ***/
namespace foo {
typedef int bar;
};
class foo::bar;
/*** end code: bug.cc ***/
The output of gcc-3.3.3 is:
bash$ g++ bug.cc -c
bug.cc:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cc0Rl0Yj.out file, please attach this to
your bugreport
--
Summary: ICE (segfault) putting "class" before non-class type
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: luked at xplantechnology dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14427