Commit d257df9b by Richard Sandiford Committed by Richard Sandiford

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
parent 9021d4e1
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.
......
......@@ -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" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment