re PR target/43638 (Internal compiler error with inline asm)
PR target/43638 * config/i386/i386.c (print_operand): Remove 'e' and 'E' code handling. * gcc.target/i386/pr43638.c: New test. From-SVN: r157987
This commit is contained in:
parent
eb12d0ae3e
commit
7d11d36899
4 changed files with 20 additions and 9 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-04-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/43638
|
||||
* config/i386/i386.c (print_operand): Remove 'e' and 'E' code
|
||||
handling.
|
||||
|
||||
2010-04-06 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/43661
|
||||
|
|
|
@ -11390,7 +11390,6 @@ get_some_local_dynamic_name (void)
|
|||
L,W,B,Q,S,T -- print the opcode suffix for specified size of operand.
|
||||
C -- print opcode suffix for set/cmov insn.
|
||||
c -- like C, but print reversed condition
|
||||
E,e -- likewise, but for compare-and-branch fused insn.
|
||||
F,f -- likewise, but for floating-point.
|
||||
O -- if HAVE_AS_IX86_CMOV_SUN_SYNTAX, expand to "w.", "l." or "q.",
|
||||
otherwise nothing
|
||||
|
@ -11795,14 +11794,6 @@ print_operand (FILE *file, rtx x, int code)
|
|||
put_condition_code (GET_CODE (x), GET_MODE (XEXP (x, 0)), 1, 1, file);
|
||||
return;
|
||||
|
||||
case 'E':
|
||||
put_condition_code (GET_CODE (x), CCmode, 0, 0, file);
|
||||
return;
|
||||
|
||||
case 'e':
|
||||
put_condition_code (GET_CODE (x), CCmode, 1, 0, file);
|
||||
return;
|
||||
|
||||
case 'H':
|
||||
/* It doesn't actually matter what mode we use here, as we're
|
||||
only going to use this for printing. */
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2010-04-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/43638
|
||||
* gcc.target/i386/pr43638.c: New test.
|
||||
|
||||
2010-04-06 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/43661
|
||||
|
|
9
gcc/testsuite/gcc.target/i386/pr43638.c
Normal file
9
gcc/testsuite/gcc.target/i386/pr43638.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* PR target/43638 */
|
||||
/* { dg-do compile } */
|
||||
|
||||
void
|
||||
foo (void)
|
||||
{
|
||||
int x;
|
||||
__asm __volatile ("mov $0,%e0" : "=r" (x)); /* { dg-error "invalid operand code" } */
|
||||
}
|
Loading…
Add table
Reference in a new issue