From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9881 invoked by alias); 20 May 2008 13:33:12 -0000 Received: (qmail 9442 invoked by uid 48); 20 May 2008 13:32:13 -0000 Date: Tue, 20 May 2008 13:33:00 -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" X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dev-zero at gentoo dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg01538.txt.bz2 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 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