Comment 3 for bug 789031

Revision history for this message
Andy Whitcroft (apw) wrote : Re: Built-in ASM constraint "rm" does not work

Seems to be present in 4.6 (from oneiric) also:

  (oneiric-i386)$ gcc-4.6 -O2 -g -o test2 test2.c
  test2.c: In function 'main':
  test2.c:7:3: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
  test2.c:7:3: error: 'asm' operand has impossible constraints

and in 4.4 (from lucid):

  (oneiric-i386)$ gcc-4.6 -O2 -g -o test2 test2.c
  test2.c: In function 'main':
  test2.c:7:3: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
  test2.c:7:3: error: 'asm' operand has impossible constraints