This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36278] New: [4.2 4.3 regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
- From: "dev-zero at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2008 13:32:13 -0000
- Subject: [Bug c++/36278] New: [4.2 4.3 regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The code snippet goes as follows:
*snip*
namespace Bar
{
typedef void MyVoid;
}
using Bar::MyVoid;
*snip*
Compiling with "g++-4.3.0 -save-temps -g -Wall -o simple simple.cc -c"
results in this:
simple.cc:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
Could reproduce this bug on Gentoo 2008.0 with g++ 4.3.0 and 4.2.3 and on
Fedora Core 8.
--
Summary: [4.2 4.3 regression] ICE with typedef void in namespace
and using the defined type in another when compiling
with "-g"
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dev-zero at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36278