* gcc.dg/tree-prof/stringop-2.c (main): Add a nomips16 attribute
on MIPS targets.
* gfortran.dg/pr45636.f90: XFAIL for MIPS16 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183911
138bc75d-0d04-0410-961f-
82ee72b054a4
2012-02-05 Richard Sandiford <rdsandiford@googlemail.com>
+ * gcc.dg/tree-prof/stringop-2.c (main): Add a nomips16 attribute
+ on MIPS targets.
+ * gfortran.dg/pr45636.f90: XFAIL for MIPS16 targets.
+
+2012-02-05 Richard Sandiford <rdsandiford@googlemail.com>
+
PR target/52125
* lib/target-supports.exp (check_effective_target_mips_rel): New.
* gcc.dg/pr48774.c: Skip on MIPS REL targets.
int b[1000];
int size=1;
int max=10000;
+#ifdef __mips
+/* We allow short memcpy()s for MIPS16. */
+int __attribute__((nomips16))
+#endif
main()
{
int i;
b = y
call sub(a, b)
end program main
-! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" } }
+! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" { xfail { mips*-*-* && { ! nomips16 } } } } }
! { dg-final { cleanup-tree-dump "forwprop2" } }