aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2014-06-01 23:14:02 +0200
committerUros Bizjak <uros@gcc.gnu.org>2014-06-01 23:14:02 +0200
commit54dbf90c373372e90014fd8bbc1ad44fd824c31d (patch)
treef9f111100fe8f5d4ef6e9dff9e0822dd633cbf27 /gcc
parent1828d3e679f8d0ea20f6d957fd0bd469436e6326 (diff)
downloadgcc-54dbf90c373372e90014fd8bbc1ad44fd824c31d.zip
gcc-54dbf90c373372e90014fd8bbc1ad44fd824c31d.tar.gz
gcc-54dbf90c373372e90014fd8bbc1ad44fd824c31d.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.target/i386/fuse-caller-save.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/sibcall-1.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/sibcall-2.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/sibcall-3.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/sibcall-4.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/sibcall-5.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/sibcall-6.c3
8 files changed, 17 insertions, 14 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0a2f3d9..960b60f 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 ff77d81..8618409 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 5a9ff47..5f0dc29 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 4fae8be..4c7e39c 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 db9eb36..8154e8f 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 45dde15..c00a60e4 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 7cf67db..ec003c9 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 29e9680..7f552b8 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;