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/5052: gcc 3.0.3 reports an ICE in instantiate_virtual_regs_1, at function.c:3904


Hi,

the following code snippet reproduces the ICE on mips-sgi-irix6.5
with gcc 3.0.3 and gcc 3.1 20011210:

void f()
{
  int i;
  asm ("xchgw %0,%1" : "=q" (i), "=m" (i) : "m" (i), "0" (0));
}

Just compile with "g++ -c".

This seems to be the same bug as in PR 4954.

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5052



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