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]

Re: template/assembler bug in egcs1.0.3a on x86



This is platform-independent, I get identical results with egcs1.0.3a
on sparc-sun-solaris2.6.  -O level, presence or absence of -g make no
difference.

If I change the code to read

template <class T>
class A
{
	void monk(int i) { __asm__ ("nop" : : "d" (i)); }
};

then I get "Internal compiler error 40" instead of just "ICE".

zw


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