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

Richard Sandiford rdsandiford@googlemail.com
Wed Jan 15 19:31:00 GMT 2014


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.

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);
 



More information about the Gcc-patches mailing list