From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6443 invoked by alias); 14 Mar 2003 01:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6408 invoked by uid 71); 14 Mar 2003 01:06:01 -0000 Resent-Date: 14 Mar 2003 01:06:01 -0000 Resent-Message-ID: <20030314010601.6407.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, mark@codesourcery.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, ghazi@caip.rutgers.edu Received: (qmail 19607 invoked by uid 48); 14 Mar 2003 01:00:03 -0000 Message-Id: <20030314010003.19606.qmail@sources.redhat.com> Date: Fri, 14 Mar 2003 01:06:00 -0000 From: ghazi@caip.rutgers.edu Reply-To: ghazi@caip.rutgers.edu To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mark@codesourcery.com Subject: c++/10070: [3.3 regression] mips-sgi-irix6.5 error in g++.other/decl5.C X-SW-Source: 2003-03/txt/msg00803.txt.bz2 List-Id: >Number: 10070 >Category: c++ >Synopsis: [3.3 regression] mips-sgi-irix6.5 error in g++.other/decl5.C >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Mar 14 01:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Kaveh Ghazi >Release: gcc 3.3 20030313 (prerelease) >Organization: >Environment: mips-sgi-irix6.5 >Description: Sometime between 20030309 and 20030311 I started getting crashes in g++.other/decl5.C as shown between these two reports: http://gcc.gnu.org/ml/gcc-testresults/2003-03/msg00575.html http://gcc.gnu.org/ml/gcc-testresults/2003-03/msg00732.html gdb says: Program received signal SIGSEGV, Segmentation fault. yyparse () at parse.y:2337 (gdb) bt #0 yyparse () at parse.y:2337 #1 0x1018e9d0 in c_common_parse_file (set_yydebug=200) at ../../egcc-3.3-CVS20030312/gcc/c-lex.c:159 #2 0x101ad144 in compile_file () at ../../egcc-3.3-CVS20030312/gcc/toplev.c:2126 #3 0x101b4958 in do_compile () at ../../egcc-3.3-CVS20030312/gcc/toplev.c:5363 #4 0x101b4a88 in toplev_main (argc=16, argv=0x7fff2ef4) at ../../egcc-3.3-CVS20030312/gcc/toplev.c:5393 #5 0x1019b404 in main (argc=200, argv=0x7fff20e0) at ../../egcc-3.3-CVS20030312/gcc/main.c:35 (gdb) >How-To-Repeat: Target mips-sgi-irix6.5 and compile decl5.ii with: cc1plus -fpreprocessed decl5.ii -quiet -dumpbase decl5.C -ansi -auxbase-strip /var/tmp/gcc-testing/branch/build/gcc/testsuite/decl5.o -pedantic-errors -Wno-long-long -ansi -version -fmessage-length=0 -o decl5.s # 1 "/caip/u58/ghazi/gcc-testing/branch/egcc-3.3-CVS20030312/gcc/testsuite/g++.old-deja/g++.other/decl5.C" # 1 "" # 1 "" # 1 "/caip/u58/ghazi/gcc-testing/branch/egcc-3.3-CVS20030312/gcc/testsuite/g++.old-deja/g++.other/decl5.C" # 10 "/caip/u58/ghazi/gcc-testing/branch/egcc-3.3-CVS20030312/gcc/testsuite/g++.old-deja/g++.other/decl5.C" struct A { int A::fn(); int A::m; struct e; struct A::e {int i;}; struct A::expand { int m; }; struct Z; expand me; void foo(struct A::e); void foo(struct A::z); }; struct Q; struct B { struct A::fink { int m; }; struct A::Z { int m; }; int m; int n; struct ::Q { int m; }; int A::fn() { return 0; } void fn(struct ::Q &); void foo(struct A::y); }; struct ::C { int i; }; namespace N { int fn(); struct F; } namespace NMS { void NMS::fn(); int NMS::i; struct NMS::D { int i; }; struct N::E { int i; }; struct ::F { int i; }; int N::fn() { return 0; } struct N::F { int i; }; } NMS::D thing; void NMS::fn() { i = 3; } >Fix: >Release-Note: >Audit-Trail: >Unformatted: