diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-02-05 15:01:06 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-02-05 15:01:06 +0000 |
commit | d257df9b5e60eeee8b09b5d23a496bdaa75e143b (patch) | |
tree | ae72d7adfdaa56ac0871946e04bc4229479ffe2a | |
parent | 9021d4e19313689138c95d2704301667543a24fb (diff) | |
download | gcc-d257df9b5e60eeee8b09b5d23a496bdaa75e143b.zip gcc-d257df9b5e60eeee8b09b5d23a496bdaa75e143b.tar.gz gcc-d257df9b5e60eeee8b09b5d23a496bdaa75e143b.tar.bz2 |
stringop-2.c (main): Add a nomips16 attribute on MIPS targets.
gcc/testsuite/
* gcc.dg/tree-prof/stringop-2.c (main): Add a nomips16 attribute
on MIPS targets.
* gfortran.dg/pr45636.f90: XFAIL for MIPS16 targets.
From-SVN: r183911
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-prof/stringop-2.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/pr45636.f90 | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b85296..50143e4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c index d5c5856..f70fafb 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c +++ b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c @@ -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; diff --git a/gcc/testsuite/gfortran.dg/pr45636.f90 b/gcc/testsuite/gfortran.dg/pr45636.f90 index 24447e8..ee7cf38 100644 --- a/gcc/testsuite/gfortran.dg/pr45636.f90 +++ b/gcc/testsuite/gfortran.dg/pr45636.f90 @@ -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" } } |