c++/8183: ICE when compiling classes with virtual base class on sparc64-sun-solaris2.8

Robert Schiele rschiele@uni-mannheim.de
Mon Jan 13 05:17:00 GMT 2003


On Thu, Jan 09, 2003 at 01:12:24PM +0100, Christian Jönsson wrote:
> however, if I just build the compiler, i.e., not doing a bootstrap, I do 
> not get the ICE.

Well, this is perfectly clear, because if you just built the compiler,
you didn't compile anything with such a class construction, as the
compiler is written in C, not C++.

But I would expect the such built compiler to also fail building my
test case, doesn't it?

> So, I wonder what the analysis is?

I can't say very much about that, but it seems so that there is
something broken in the C++ frontend on 64 bit systems.  I assume some
false assumptions about size of specific data types that are only
correct on some platforms.

I don't have tried on other 64 bit platforms, but for Solaris I can
say that I am able to build both 32 and 64 bit versions of the
testcase successfully with the compiler built itself in 32 bit mode.
But with a compiler built in 64 bit mode, the bug is triggered
independent of the target being 32 or 64 bit.

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030113/f3973267/attachment.sig>


More information about the Gcc-bugs mailing list