This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR 14724 and PR 14763
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 May 2004 13:31:34 +0200
- Subject: Re: C++ PATCH: PR 14724 and PR 14763
- References: <200403302346.i2UNkjZX005085@sirius.codesourcery.com> <m3llkc2deg.fsf@uniton.integrable-solutions.net>
> Backported to 3.3.4-pre as indicated below.
>
> -- Gaby
>
> Index: cp/ChangeLog
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
> retrieving revision 1.3076.2.265
> diff -p -r1.3076.2.265 ChangeLog
> *** cp/ChangeLog 1 Apr 2004 21:47:59 -0000 1.3076.2.265
> --- cp/ChangeLog 1 May 2004 19:54:26 -0000
> ***************
> *** 1,3 ****
> --- 1,11 ----
> + 2004-05-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
> +
> + Backport from gcc-3_4-branch:
> + 2004-03-30 Mark Mitchell <mark@codesourcery.com>
> + PR c++/14724
> + * decl.c (start_decl_1): Do not decide whether or not to create a
> + new cleanup level until after the type has been completed.
> +
Introduced:
+FAIL: g++.jason/special.C caused compiler crash
+FAIL: g++.other/crash24.C caused compiler crash
+FAIL: g++.other/crash37.C caused compiler crash
+FAIL: g++.other/vaarg3.C caused compiler crash
+FAIL: g++.pt/crash14.C caused compiler crash
+FAIL: g++.pt/instantiate8.C caused compiler crash
+FAIL: g++.pt/partial2.C caused compiler crash
+FAIL: g++.robertl/eb4.C caused compiler crash
on sparc64-sun-solaris2.9 and sparc-sun-solaris2.8.
Same ICE for the 8 failures:
Executing on host: /opt/build/eric/gcc-3_3-branch/gcc/testsuite/../g++
-B/opt/build/eric/gcc-3_3-branch/gcc/testsuite/../
/home/eric/cvs/gcc-3_3-branch/gcc/testsuite/g++.old-deja/g++.jason/special.C
-nostdinc++
-I/opt/build/eric/gcc-3_3-branch/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8
-I/opt/build/eric/gcc-3_3-branch/sparc-sun-solaris2.8/libstdc++-v3/include
-I/home/eric/cvs/gcc-3_3-branch/libstdc++-v3/libsupc++
-I/home/eric/cvs/gcc-3_3-branch/libstdc++-v3/libio
-I/home/eric/cvs/gcc-3_3-branch/libstdc++-v3/include/backward
-I/home/eric/cvs/gcc-3_3-branch/libstdc++-v3/testsuite -fmessage-length=0
-ansi -pedantic-errors -Wno-long-long
-L/opt/build/eric/gcc-3_3-branch/sparc-sun-solaris2.8/./libstdc++-v3/src/.libs
-L/opt/build/eric/gcc-3_3-branch/sparc-sun-solaris2.8/./libiberty -lstdc++
-lm -o
/opt/build/eric/gcc-3_3-branch/gcc/testsuite/g++-jason-special-C.exe
(timeout = 300)
/home/eric/cvs/gcc-3_3-branch/gcc/testsuite/g++.old-deja/g++.jason/special.C:5:
error: aggregate `A<int> a' has incomplete type and cannot be defined
/home/eric/cvs/gcc-3_3-branch/gcc/testsuite/g++.old-deja/g++.jason/special.C:5:
internal compiler error: tree check: expected class 't', have 'x'
(error_mark) in maybe_push_cleanup_level, at cp/decl.c:1078
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/home/eric/cvs/gcc-3_3-branch/gcc/testsuite/g++.old-deja/g++.jason/special.C:5:
error: aggregate `A<int> a' has incomplete type and cannot be defined
/home/eric/cvs/gcc-3_3-branch/gcc/testsuite/g++.old-deja/g++.jason/special.C:5:
internal compiler error: tree check: expected class 't', have 'x'
(error_mark) in maybe_push_cleanup_level, at cp/decl.c:1078
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I'll test the 3.4 branch tomorrow.
--
Eric Botcazou