* gcc.target/mips/mips.exp (is_gp32_flag): Return true for -msmartmips.
* gcc.target/mips/save-restore-5.c: Fix positioning of dg-do directive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126802
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-07-20 Richard Sandiford <richard@codesourcery.com>
+
+ * gcc.target/mips/mips.exp (is_gp32_flag): Return true for -msmartmips.
+ * gcc.target/mips/save-restore-5.c: Fix positioning of dg-do directive.
+
2007-07-20 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/19910
# Return true if command-line option FLAG forces 32-bit code.
proc is_gp32_flag {flag} {
switch -glob -- $flag {
+ -msmartmips -
-march=mips32* -
-mgp32 { return 1 }
default { return 0 }
/* Check that we don't try to save the same register twice. */
-/* { dg-mips-options "-mips32r2 -mgp32 -mips16 -mno-abicalls -O2" } */
/* { dg-do assemble } */
+/* { dg-mips-options "-mips32r2 -mgp32 -mips16 -mno-abicalls -O2" } */
int bar (int, int, int, int);
void frob (void);