GCC 3.2 (and 3.1) compiled for i686-pc-linux-gnu, on Redhat 7.3, Linux
kernel 2.4.18, CPU Pentium-4.
gcc -c bug.c
void
test(void)
{
int buff;
asm volatile(
#define buff "%0"
"xorl %0,%0"
: "+r" (buff));
}
gives:
bug.c: In function `test':
bug.c:6: Internal compiler error in emit_move_insn, at expr.c:2577
Please submit a full bug report.
David Robinson