This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: Improve exceptions/inlining compile-time performance


> > > > FAIL: g++.dg/parse/class1.C (test for excess errors)
> > > > FAIL: g++.other/decl5.C (test for excess errors)
> > > 
> > > These are actually progressions; the compiler is not crashing on these
> > > test cases, and we are expecting it to crash.  Unfortunately, it still
> > > crashes on GNU/Linux; I am going to figure out what's different if I
> > > can.
> > 
> > It still crashes on the 32-bit PA port, so I doubt the progression
> > is real.
> 
> What output to you get?

On hppa-unknown-linux gnu:

/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C: In function `int N::
f()':
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C:5: error: declaration of `struct N::A' in `int N::f()' which does not enclose `N'
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C:5: confused by earlier errors, bailing out
compiler exited with status 1

On hppa64-hp-hpux11.11:

/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C: In function `int N::f()':
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C:5: error: declaration of `struct N::A' in `int N::f()' which does not enclose `N'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C:6: error: declaration does not declare anything
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C:6: error: parse error before `)' token
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/parse/class1.C:6: error: missing ';' before right brace
compiler exited with status 1

For decl5.C on hppa-unknown-linux-gnu:

/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:11: error: extra qualification `A::' on member `fn' ignored
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:12: error: extra qualification `A::' on member `m' ignored
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:15: error: no type named `expand' in `struct A'
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:21: error: no type named `z' in `struct A'
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:26: error: no type named `fink' in `struct A'
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:29: error: declaration of `struct A::Z' in `struct B' which does not enclose `struct A'
/home/dave/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:29: confused by earlier errors, bailing out
compiler exited with status 1

On hppa64-hp-hpux11.11:

/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:11: error: extra qualification `A::' on member `fn' ignored
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:12: error: extra qualification `A::' on member `m' ignored
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:15: error: no type named `expand' in `struct A'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:21: error: no type named `z' in `struct A'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:26: error: no type named `fink' in `struct A'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:29: error: declaration of `struct A::Z' in `struct B' which does not enclose `struct A'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:31: error: ISO C++ prohibits anonymous structs
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:32: error: declaration of `int B::m'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:30: error: con
flicts with previous declaration `int B::<anonymous struct>::m'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:34: error: declaration of `struct Q' in `struct B' which does not enclose `::'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:36: error: ISO C++ prohibits anonymous structs
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:36: error: declaration of `int B::<anonymous struct>::m'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:30: error: conflicts with previous declaration `int B::<anonymous struct>::m'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:37: error: can not declare member function `A::fn' within `B'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:41: error: no type named `y' in `struct A'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:32: error: duplicate member `B::m'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:35: error: duplicate member `B::<anonymous struct>::m'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:44: error: extra qualification `::::' on member `C' ignored
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:57: error: extra qualification `NMS::' on member `D' ignored
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:60: error: `N' does not have a class or union named `E'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:63: error: `::' does not have a class or union named `F'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:66: error: declaration of `int fn()' not in a namespace surrounding `N'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:69: error: declaration of `struct N::F' in `NMS' which does not enclose `N'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:71: error: ISO C++ prohibits anonymous structs
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:71: error: abstract declarator `NMS::<anonymous struct>' used as declaration
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C:71: error: namespace-scope anonymous aggregates must be static

Dave
-- 
J. David Anglin                                  dave dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]