Patchwork [MIPS] Tweak options for umips-branch-4.c

login
register
mail settings
Submitter Richard Sandiford
Date Jan. 15, 2014, 7:31 p.m.
Message ID <87a9exnis9.fsf@talisman.default>
Download mbox | patch
Permalink /patch/311250/
State New
Headers show

Comments

Richard Sandiford - Jan. 15, 2014, 7:31 p.m.
umips-branch-4.c relies on direct JALs being possible, so add
addressing=absolute to force that.

Tested on mips64-linux-gnu and applied.

Thanks,
Richard


gcc/testsuite/
	* gcc.target/mips/umips-branch-4.c: Add addressing=absolute.

Patch

Index: gcc/testsuite/gcc.target/mips/umips-branch-4.c
===================================================================
--- gcc/testsuite/gcc.target/mips/umips-branch-4.c	2014-01-12 14:45:53.520325433 +0000
+++ gcc/testsuite/gcc.target/mips/umips-branch-4.c	2014-01-12 14:55:15.356896582 +0000
@@ -1,4 +1,4 @@ 
-/* { dg-options "(-mmicromips)" } */
+/* { dg-options "(-mmicromips) addressing=absolute" } */
 
 void foo (void);