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
This commit is contained in:
parent
9021d4e193
commit
d257df9b5e
3 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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" } }
|
||||
|
|
Loading…
Add table
Reference in a new issue