Patchwork [committed] Add a missing NOMIPS16 to gcc.target/mips/ext-2.c

login
register
mail settings
Submitter Richard Sandiford
Date Dec. 19, 2011, 9:42 p.m.
Message ID <87pqfk8chy.fsf@firetop.home>
Download mbox | patch
Permalink /patch/132317/
State New
Headers show

Comments

Richard Sandiford - Dec. 19, 2011, 9:42 p.m.
As the subject says.  Not sure how this slipped through; all the other
ext-* tests have it.

Tested on mips-sde-elf and applied.

Richard


gcc/testsuite/
	* gcc.target/mips/ext-2.c: Add NOMIPS16.

Patch

Index: gcc/testsuite/gcc.target/mips/ext-2.c
===================================================================
--- gcc/testsuite/gcc.target/mips/ext-2.c	2011-12-19 21:40:07.000000000 +0000
+++ gcc/testsuite/gcc.target/mips/ext-2.c	2011-12-19 21:40:34.000000000 +0000
@@ -7,7 +7,7 @@ 
 /* { dg-final { scan-assembler-not "and" } } */
 /* { dg-final { scan-assembler-not "srl" } } */
 
-void
+NOMIPS16 void
 f (unsigned char x, unsigned char *r)
 {
   *r = 0x50 | (x >> 4);