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]

Internal compiler error


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



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