]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 9b8529663f4df8c90962b89e5cbfde48543dcf6e..50143e4d6fd35541f17a3deafecc978ab3e9a0ff 100644 (file)
@@ -1,3 +1,9 @@
+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
index d5c58561be24a4606d755f60969072809b288f18..f70fafba3a23e48ea5d59088a260e53846aa7f4b 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 24447e8375cf7025aeb238bd211960bf73e0d85b..ee7cf3863cb5f82d0bebe6bdf1b2d538f1985015 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" } }