This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c++ failures
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org, nathan at codesourcery dot com
- Date: 28 Feb 2003 10:50:59 +0100
- Subject: Re: c++ failures
- Organization: Integrable Solutions
- References: <200302280440.h1S4eEVf002226@hiauly1.hia.nrc.ca>
"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