From aa05353c1e3f7c18d021741a0f86312473a62a9f Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Sun, 10 Mar 2019 16:43:48 +0000 Subject: [PATCH] Compile gcc.target/i386/indirect-thunk-extern-7.c with -fjump-tables * gcc.target/i386/indirect-thunk-extern-7.c: Add -fjump-tables to dg-options. From-SVN: r269558 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b6d6f678ed4..2a00fe9fcd1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-03-10 Rainer Orth + + * gcc.target/i386/indirect-thunk-extern-7.c: Add -fjump-tables to + dg-options. + 2019-03-10 Martin Jambor PR tree-optimization/85762 diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c index b7339745116..95c5cc176ae 100644 --- a/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c +++ b/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c @@ -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); -- 2.30.2