diff mbox series

Fix PR testsuite/77734 on SPARC

Message ID 2764643.jWBvFk0osl@polaris
State New
Headers show
Series Fix PR testsuite/77734 on SPARC | expand

Commit Message

Eric Botcazou Jan. 16, 2018, 8:48 p.m. UTC
We need to enable delayed-branch scheduling to have sibling calls on SPARC.

Tested on SPARC64/Linux, applied on the mainline and 7 branch.


2018-01-16  Eric Botcazou  <ebotcazou@adacore.com>

	PR testsuite/77734
	* gcc.dg/plugin/must-tail-call-1.c: Pass -fdelayed-branch on SPARC.
diff mbox series

Patch

Index: gcc.dg/plugin/must-tail-call-1.c
===================================================================
--- gcc.dg/plugin/must-tail-call-1.c	(revision 256562)
+++ gcc.dg/plugin/must-tail-call-1.c	(working copy)
@@ -1,3 +1,5 @@ 
+/* { dg-options "-fdelayed-branch" { target sparc*-*-* } } */
+
 extern void abort (void);
 
 int __attribute__((noinline,noclone))