This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: template/assembler bug in egcs1.0.3a on x86
- To: egcs-bugs at cygnus dot com
- Subject: Re: template/assembler bug in egcs1.0.3a on x86
- From: Zack Weinberg <zack at rabi dot phys dot columbia dot edu>
- Date: Fri, 12 Jun 1998 23:08:27 -0400
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