gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Feb 2012 15:01:06 +0000 (15:01 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Feb 2012 15:01:06 +0000 (15:01 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/stringop-2.c
gcc/testsuite/gfortran.dg/pr45636.f90

index 9b85296..50143e4 100644 (file)
@@ -1,5 +1,11 @@
 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.
index d5c5856..f70fafb 100644 (file)
@@ -3,6 +3,10 @@ int a[1000];
 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;
index 24447e8..ee7cf38 100644 (file)
@@ -10,5 +10,5 @@ program main
   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" } }