This is the mail archive of the gcc-bugs@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++/8183: ICE when compiling classes with virtual base class on sparc64-sun-solaris2.8


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

Attachment: msg00600/pgp00000.pgp
Description: PGP signature


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