sibcall-2.c: Xfail dg-final scan-assembler-not, not compilation.

* gcc.target/i386/sibcall-2.c: Xfail dg-final scan-assembler-not,
	not compilation.
	* gcc.target/i386/sibcall-4.c: Ditto.
	* gcc.target/i386/fuse-caller-save.c: Add -mregparm=1 for ia32 target.

From-SVN: r211120
This commit is contained in:
Uros Bizjak 2014-06-01 23:14:02 +02:00 committed by Uros Bizjak
parent 1828d3e679
commit 54dbf90c37
8 changed files with 17 additions and 14 deletions

View file

@ -1,3 +1,10 @@
2014-06-01 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/sibcall-2.c: Xfail dg-final scan-assembler-not,
not compilation.
* gcc.target/i386/sibcall-4.c: Ditto.
* gcc.target/i386/fuse-caller-save.c: Add -mregparm=1 for ia32 target.
2014-06-01 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/sibcall-2.c (dg-final): Properly escape '[' and ']'

View file

@ -1,5 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fuse-caller-save" } */
/* { dg-additional-options "-mregparm=1" { target ia32 } } */
/* Testing -fuse-caller-save optimization option. */
static int __attribute__((noinline))

View file

@ -1,5 +1,4 @@
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */
extern int (*foo)(int);

View file

@ -1,5 +1,4 @@
/* { dg-do compile { xfail { *-*-* } } } */
/* { dg-require-effective-target ia32 } */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */
extern int doo1 (int);
@ -13,4 +12,4 @@ int foo (int a)
return (a < 0 ? doo1 : doo2) (a);
}
/* { dg-final { scan-assembler-not "call\[ \t\]*.%eax" } } */
/* { dg-final { scan-assembler-not "call\[ \t\]*.%eax" { xfail *-*-* } } } */

View file

@ -1,5 +1,4 @@
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */
extern

View file

@ -1,6 +1,5 @@
/* Testcase for PR target/46219. */
/* { dg-do compile { xfail { *-*-* } } } */
/* { dg-require-effective-target ia32 } */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */
typedef void (*dispatch_t)(long offset);
@ -12,4 +11,4 @@ void male_indirect_jump (long offset)
dispatch[offset](offset);
}
/* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */
/* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" { xfail *-*-* } } } */

View file

@ -1,6 +1,5 @@
/* Check that indirect sibcalls understand regparm. */
/* { dg-do run } */
/* { dg-require-effective-target ia32 } */
/* { dg-do run { target ia32 } } */
/* { dg-options "-O2" } */
extern void abort (void);

View file

@ -1,5 +1,4 @@
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */
typedef void *ira_loop_tree_node_t;