This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix gcc.target/mips/ext-1.c


Apparently I can never get dg-mips-option right the first time.

While convincing myself that I needed -mgp64 after -march=octeon on a
new Octeon test, I decided to give it a try with mips-linux-gnu.  Then I
saw that even ext-1.c was failing.

Committed as obvious.

Adam
2008-08-18  Adam Nemet  <anemet@caviumnetworks.com>

	* gcc.target/mips/ext-1.c: Add -mgp64 to dg-mips-options.

Index: ext-1.c
===================================================================
--- ext-1.c	(revision 138448)
+++ ext-1.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-mips-options "-O -mips64r2" } */
+/* { dg-mips-options "-O -mips64r2 -mgp64" } */
 /* { dg-final { scan-assembler "\tdext\t" } } */
 /* { dg-final { scan-assembler-not "and" } } */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]