diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-01 21:14:02 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-01 21:14:02 +0000 |
commit | e6ae6e67fb9bfba754e9ba1536d962c704cbd7c7 (patch) | |
tree | f9f111100fe8f5d4ef6e9dff9e0822dd633cbf27 | |
parent | bfc603d630e2d5c6a60b0528cfbf920c60c5da03 (diff) | |
download | gcc-e6ae6e67fb9bfba754e9ba1536d962c704cbd7c7.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211120 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/fuse-caller-save.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sibcall-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sibcall-2.c | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sibcall-3.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sibcall-4.c | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sibcall-5.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sibcall-6.c | 3 |
8 files changed, 17 insertions, 14 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0a2f3d916c8..960b60f5a94 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,12 @@ 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 ']' in scan-assembler-not string. * gcc.target/i386/sibcall-3.c (dg-final): Ditto. diff --git a/gcc/testsuite/gcc.target/i386/fuse-caller-save.c b/gcc/testsuite/gcc.target/i386/fuse-caller-save.c index ff77d81427f..8618409c78a 100644 --- a/gcc/testsuite/gcc.target/i386/fuse-caller-save.c +++ b/gcc/testsuite/gcc.target/i386/fuse-caller-save.c @@ -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)) diff --git a/gcc/testsuite/gcc.target/i386/sibcall-1.c b/gcc/testsuite/gcc.target/i386/sibcall-1.c index 5a9ff475a1e..5f0dc298bd2 100644 --- a/gcc/testsuite/gcc.target/i386/sibcall-1.c +++ b/gcc/testsuite/gcc.target/i386/sibcall-1.c @@ -1,5 +1,4 @@ -/* { dg-do compile } */ -/* { dg-require-effective-target ia32 } */ +/* { dg-do compile { target ia32 } } */ /* { dg-options "-O2" } */ extern int (*foo)(int); diff --git a/gcc/testsuite/gcc.target/i386/sibcall-2.c b/gcc/testsuite/gcc.target/i386/sibcall-2.c index 4fae8bef309..4c7e39c08b5 100644 --- a/gcc/testsuite/gcc.target/i386/sibcall-2.c +++ b/gcc/testsuite/gcc.target/i386/sibcall-2.c @@ -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 *-*-* } } } */ diff --git a/gcc/testsuite/gcc.target/i386/sibcall-3.c b/gcc/testsuite/gcc.target/i386/sibcall-3.c index db9eb360c63..8154e8f1731 100644 --- a/gcc/testsuite/gcc.target/i386/sibcall-3.c +++ b/gcc/testsuite/gcc.target/i386/sibcall-3.c @@ -1,5 +1,4 @@ -/* { dg-do compile } */ -/* { dg-require-effective-target ia32 } */ +/* { dg-do compile { target ia32 } } */ /* { dg-options "-O2" } */ extern diff --git a/gcc/testsuite/gcc.target/i386/sibcall-4.c b/gcc/testsuite/gcc.target/i386/sibcall-4.c index 45dde15d867..c00a60e4d12 100644 --- a/gcc/testsuite/gcc.target/i386/sibcall-4.c +++ b/gcc/testsuite/gcc.target/i386/sibcall-4.c @@ -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 *-*-* } } } */ diff --git a/gcc/testsuite/gcc.target/i386/sibcall-5.c b/gcc/testsuite/gcc.target/i386/sibcall-5.c index 7cf67dbe16a..ec003c9962e 100644 --- a/gcc/testsuite/gcc.target/i386/sibcall-5.c +++ b/gcc/testsuite/gcc.target/i386/sibcall-5.c @@ -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); diff --git a/gcc/testsuite/gcc.target/i386/sibcall-6.c b/gcc/testsuite/gcc.target/i386/sibcall-6.c index 29e9680ee63..7f552b8df42 100644 --- a/gcc/testsuite/gcc.target/i386/sibcall-6.c +++ b/gcc/testsuite/gcc.target/i386/sibcall-6.c @@ -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; |