summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-16 20:48:43 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-16 20:48:43 +0000
commite4cba9dc6bf21eddd55b69efed867fb3801f6158 (patch)
treef81c3addaa3da1ede61d71e1214431404ea827fa
parente9c9bd6dd980d0d3aee673d5be80b93acad8e84c (diff)
PR testsuite/77734
* gcc.dg/plugin/must-tail-call-1.c: Pass -fdelayed-branch on SPARC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256757 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/plugin/must-tail-call-1.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 44e046eec5eb..dadc47741c70 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR testsuite/77734
+ * gcc.dg/plugin/must-tail-call-1.c: Pass -fdelayed-branch on SPARC.
+
2018-01-16 Segher Boessenkool <segher@kernel.crashing.org>
Backport from mainline
diff --git a/gcc/testsuite/gcc.dg/plugin/must-tail-call-1.c b/gcc/testsuite/gcc.dg/plugin/must-tail-call-1.c
index 6d74955aa808..1495a48232a6 100644
--- a/gcc/testsuite/gcc.dg/plugin/must-tail-call-1.c
+++ b/gcc/testsuite/gcc.dg/plugin/must-tail-call-1.c
@@ -1,3 +1,5 @@
+/* { dg-options "-fdelayed-branch" { target sparc*-*-* } } */
+
extern void abort (void);
int __attribute__((noinline,noclone))