This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9140: [3.4 regression] new C++ parser failures on mips-irix6/sparc-solaris2 with g++.benjamin/15799.C g++.jason/overload28.C g++.law/arg1.C g++.mike/net2.C
- From: ghazi at caip dot rutgers dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Cc: mark at codesourcery dot com
- Date: 2 Jan 2003 18:16:33 -0000
- Subject: c++/9140: [3.4 regression] new C++ parser failures on mips-irix6/sparc-solaris2 with g++.benjamin/15799.C g++.jason/overload28.C g++.law/arg1.C g++.mike/net2.C
- Reply-to: ghazi at caip dot rutgers dot edu
>Number: 9140
>Category: c++
>Synopsis: [3.4 regression] new C++ parser failures on mips-irix6/sparc-solaris2 with g++.benjamin/15799.C g++.jason/overload28.C g++.law/arg1.C g++.mike/net2.C
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Jan 02 10:26:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Kaveh Ghazi
>Release: gcc version 3.4 20030101 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5
sparc-sun-solaris2.7
>Description:
I get these new failures which look related to each other and began happening with the new c++ parser merge on mips-sgi-irix6.5. See http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00031.html
FAIL: g++.benjamin/15799.C caused compiler crash
FAIL: g++.jason/overload28.C caused compiler crash
FAIL: g++.law/arg1.C caused compiler crash
FAIL: g++.mike/net2.C caused compiler crash
Most of these errors (all but arg1.C) also occur on sparc-sun-solaris2.7. See http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00058.html
The error message in the logfile in all cases looks like this:
overload28.C: In function `int main()':
overload28.C:10: error: call of overloaded `Internal compiler error: Error reporting routines re-entered.
>How-To-Repeat:
Target mips-sgi-irix6.5 and compile overload28.ii with:
cc1plus -fpreprocessed overload28.ii -quiet -dumpbase overload28.C -ansi -auxbase overload28 -pedantic-errors -Wno-long-long -ansi -version -fmessage-length=0 -o overload28.s
# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030102/gcc/testsuite/g++.old-deja/g++.jason/overload28.C"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030102/gcc/testsuite/g++.old-deja/g++.jason/overload28.C"
struct Foo {
Foo() { }
Foo(int i = 25) { }
};
int main()
{
Foo* f1 = new Foo();
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: