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++ failures


"John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca> writes:

| > using GCC 3.3 20030228 (prerelease), I just made bootstrap and run the
| > testsuite and the only failure I get is:
| > 
| > FAIL: g++.dg/warn/Wunused-2.C  (test for warnings, line 5).
| 
| I had similar fails to Nathan on 3.4.  See
| <http://gcc.gnu.org/ml/gcc-testresults/2003-02/msg01389.html>
| and <http://gcc.gnu.org/ml/gcc-testresults/2003-02/msg01429.html>.
| 
| There is also a new fail for static9.C on both 3.3 and trunk.
| See <http://gcc.gnu.org/ml/gcc-patches/2003-02/msg02340.html>.
| This appears to have been introduced between Feb 25 06:47:46 UTC
| and Feb 26 17:04:56 UTC.

Within that window, there is also this patch of Mark's

  2003-02-25  Mark Mitchell  <mark at codesourcery dot com>

        PR c++/9683
        * decl2.c (prune_vars_needing_no_initialization): Do not throw
        away initializations for DECL_EXTERNAL VAR_DECLs.
        (finish_file): Adjust accordingly.
        * pt.c (instantiate_decl): Do not defer VAR_DECLs.


And given the nature of the errors on mainline:

/home/gcc/src/egcs/gcc/testsuite/g++.dg/other/error2.C:13: error: declaration of `operator>>' as non-function
/home/gcc/src/egcs/gcc/testsuite/g++.dg/other/error2.C:13: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

/home/gcc/src/egcs/gcc/testsuite/g++.dg/parse/saved1.C:4: error: declaration of `operator new' as non-function
/home/gcc/src/egcs/gcc/testsuite/g++.dg/parse/saved1.C:4: error: expected function-definition
/home/gcc/src/egcs/gcc/testsuite/g++.dg/parse/saved1.C:5: error: declaration of `operator new' as non-function
/home/gcc/src/egcs/gcc/testsuite/g++.dg/parse/saved1.C:5: internal
compiler error: Segmentation fault

[...]

and given that my patach does not cause regression on branch, I'm
suspecting Mark's.

Still investigating.

-- Gaby


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