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/C++/ObjC/ObjC++ PATCH] Battle of the comptypes (PR c++/35049)


On Feb 7, 2008 10:11 AM, Richard Guenther <richard.guenther@gmail.com> wrote:
> But now it ICEs for me again...
>
> /space/rguenther/src/svn/trunk/gcc/testsuite/g++.dg/ext/vector13.C:6:
> internal compiler error: canonical types differ for identical types
> const int __vector__ [] and const int __vector__ []^M
> Please submit a full bug report,^M
> with preprocessed source if appropriate.^M
> See <http://gcc.gnu.org/bugs.html> for instructions.^M
>
> FAIL: g++.dg/ext/vector13.C (internal compiler error)
> FAIL: g++.dg/ext/vector13.C (test for excess errors)

I'm seeing this on i686-pc-linux-gnu, but not i386-apple-darwin9. This
looks like a typical canonical-types failure, where we have two
equivalent ARRAY_TYPE nodes whose canonical types are different.  I'm
looking into it.

The issue is independent of the issue with comptypes, and I happen to
like Paolo's patch better than my own. Despite its size, it's a far
cleaner approach.

  - Doug


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