summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-12 08:54:03 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-27 14:33:32 -0700
commit727553fa53dd4ff921f97932b12aa65fa4e2ae03 (patch)
tree03a2b0fdb370e7593ce426f2f761e473a3658431
parent7061ea71bd6beb4f3c6646373390f7c98e002a16 (diff)
downloadgcc-727553fa53dd4ff921f97932b12aa65fa4e2ae03.tar.gz
Fix Add an array of function pointer test for PR 68661hjl/interrupt/master
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr68661-2a.c1
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr68661-2b.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/pr68661-2a.c b/gcc/testsuite/gcc.dg/torture/pr68661-2a.c
index 5eb2361d14c..5a373a2c3a4 100644
--- a/gcc/testsuite/gcc.dg/torture/pr68661-2a.c
+++ b/gcc/testsuite/gcc.dg/torture/pr68661-2a.c
@@ -1,4 +1,5 @@
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-mno-mpx -mno-sse -mno-mmx -mno-80387" } */
/* { dg-additional-sources pr68661-2b.c } */
extern void (*bar[]) (int, int, int, int, int, int, int, int, int)
diff --git a/gcc/testsuite/gcc.dg/torture/pr68661-2b.c b/gcc/testsuite/gcc.dg/torture/pr68661-2b.c
index dd5fb6437ab..3127278e0b0 100644
--- a/gcc/testsuite/gcc.dg/torture/pr68661-2b.c
+++ b/gcc/testsuite/gcc.dg/torture/pr68661-2b.c
@@ -1,4 +1,5 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-mno-mpx -mno-sse -mno-mmx -mno-80387" } */
extern void foo (void);
extern void bad (void);