Message ID | FD3DCEAC5B03E9408544A1E416F112420192C3C0D4@NA-MBX-01.mgc.mentorg.com |
---|---|
State | New |
Headers | show |
> Hi Andrew, > > Instead of adding the -mno-micromips option to dg-options, please change the > MIPS16 attribute to NOCOMPRESSION. > > Index: gcc.target/mips/no-smartmips-lwxs.c > =================================================================== > --- gcc.target/mips/no-smartmips-lwxs.c (revision 452061) > +++ gcc.target/mips/no-smartmips-lwxs.c (working copy) > @@ -1,7 +1,7 @@ > /* { dg-do compile } */ > /* { dg-options "-mno-smartmips" } */ > > -NOMIPS16 int scaled_indexed_word_load (int a[], int b) > +NOCOMPRESSION int scaled_indexed_word_load (int a[], int b) > { > return a[b]; > } > > OK with that change. > Catherine Committed as SVN 225519. Regards, Andrew
Index: gcc.target/mips/no-smartmips-lwxs.c =================================================================== --- gcc.target/mips/no-smartmips-lwxs.c (revision 452061) +++ gcc.target/mips/no-smartmips-lwxs.c (working copy) @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-mno-smartmips" } */ -NOMIPS16 int scaled_indexed_word_load (int a[], int b) +NOCOMPRESSION int scaled_indexed_word_load (int a[], int b) { return a[b]; }