This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix gcc.target/mips/no-smartmips-ror-1.c
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Nov 2008 22:23:17 +0000
- Subject: [committed] Fix gcc.target/mips/no-smartmips-ror-1.c
I'd wrongly suggested using -march=mips32r2 (which has ROR) instead
of -march=mips32 (which doesn't unless SmartMIPS is available).
Tested on mipsisa64-elfoabi and applied.
Richard
gcc/testsuite/
* gcc.target/mips/no-smartmips-ror-1.c: Use -march=mips32 instead
of -march=mips32r2.
Index: gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c
===================================================================
--- gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c (rÃvision 141924)
+++ gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c (copie de travail)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-mips-options "-O -mno-smartmips -march=mips32r2" } */
+/* { dg-mips-options "-O -mno-smartmips -march=mips32" } */
NOMIPS16 int rotate_left (unsigned a, unsigned s)
{