Compile gcc.target/i386/indirect-thunk-extern-7.c with -fjump-tables
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Sun, 10 Mar 2019 16:43:48 +0000 (16:43 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Sun, 10 Mar 2019 16:43:48 +0000 (16:43 +0000)
* gcc.target/i386/indirect-thunk-extern-7.c: Add -fjump-tables to
dg-options.

From-SVN: r269558

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c

index b6d6f678ed4855bf2dbf974bc931684ca67eba3d..2a00fe9fcd18f2c9708b58ba7eda2c26273d90de 100644 (file)
@@ -1,3 +1,8 @@
+2019-03-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gcc.target/i386/indirect-thunk-extern-7.c: Add -fjump-tables to
+       dg-options.
+
 2019-03-10  Martin Jambor  <mjambor@suse.cz>
 
        PR tree-optimization/85762
index b73397451166e11fe515941063fefaeb092d41a1..95c5cc176aea53f76c03e46559250ba2e989ea23 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic -fjump-tables" } */
 
 void func0 (void);
 void func1 (void);