From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23834 invoked by alias); 15 Feb 2006 04:45:59 -0000 Received: (qmail 23826 invoked by uid 48); 15 Feb 2006 04:45:57 -0000 Date: Wed, 15 Feb 2006 04:45:00 -0000 Subject: [Bug c++/26295] New: Invalid namespace pointer seg fault X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gcc-bugzilla at meta-dynamic dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg01647.txt.bz2 List-Id: Compiling this code: namespace A { } ; int (A::*B)(); With this command: g++ --version ; g++ -c test-bug-1.cc Produces this output: g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. test-bug-1.cc:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. For Debian GNU/Linux specific bug reporting instructions, see . NOTE: I don't know if this is the most up-to-date version of the compiler; it is the one that is distributed with my operating system. I tried searching existing bugs but didn't see this one; my apologies if it has already been reported and/or fixed. -- Summary: Invalid namespace pointer seg fault Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at meta-dynamic dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26295