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]

Re: ICE while handling asm



  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


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