This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ICE while handling asm
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: ICE while handling asm
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 09 Jul 1998 00:37:48 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <r2vhp9o98y.fsf@happy.cygnus.com>you write:
> Hi,
>
> The current egcs as of 19980707 crashes on the code appended below
> when compiled for Intel using -O2 or higher. The same code works fine
> with 2.91.45 (the last version I have installed).
>
> c.i: In function `pthread_cancel':
> c.i:122: internal error--unrecognizable insn:
> (insn 120 20 122 (parallel[
> (set (reg/v:SI 27)
> (asm_operands/v ("xchgl %0, %1") ("=r") 0[
> (const_int 1)
> (mem:SI (reg/v:SI 22))
> ]
> [
> (asm_input:SI ("0"))
> (asm_input:SI ("1"))
> ] ("c.i") 85))
> (set (mem:SI (reg/v:SI 22))
> (asm_operands/v ("xchgl %0, %1") ("=m") 1[
> (const_int 1)
> (mem:SI (reg/v:SI 22))
> ]
> [
> (asm_input:SI ("0"))
> (asm_input:SI ("1"))
> ] ("c.i") 85))
> ] ) -1 (insn_list 12 (nil))
> (nil))
> ../../egcs/gcc/toplev.c:1191: Internal compiler error in function fatal_ins
I believe I've just fixed this problem.
Jeff