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: PR 14724 and PR 14763



On May 3, 2004, at 08:54, Gabriel Dos Reis wrote:
| /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


Do you have a backtrace up to this point?

On the mainline in maybe_push_cleanup_level there is a check for error_mark_node:
if (type != error_mark_node
&& TYPE_HAS_NONTRIVIAL_DESTRUCTOR (type)
&& current_binding_level->more_cleanups_ok == 0)
{
This was changed to fix PR 14810, <http://gcc.gnu.org/PR14810> to fix the
regression introduced by this patch on the 3.4 branch and the mainline.
I want to say that Eric configured with --enable-checking to see these errors.


Thanks,
Andrew Pinski


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