* gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.

From-SVN: r58157
This commit is contained in:
J"orn Rennecke 2002-10-15 13:25:16 +00:00 committed by Joern Rennecke
parent 1877be457e
commit 38364bd2f5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Tue Oct 15 14:22:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.
Mon Oct 14 20:37:51 CEST 2002 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-ssetype-[1-5].c: New tests.

View File

@ -26,4 +26,9 @@ int bar3 (int x)
// { dg-final { scan-assembler "baz2" } }
// { dg-final { scan-assembler-not "baz2.*baz2.*baz2.*baz2.*baz2.*baz2" } }
// { dg-final { scan-assembler-not "foo3" } }
// SH targets put the funtion address into a constant pool and / or register,
// so it does not appear repeated (as much as expected) in the assembler.
// { dg-final { global target_triplet } }
// { dg-final { if [string match sh-*-* $target_triplet ] {return} } }
// { dg-final { if [string match {sh[elb1-9]*-*-*} $target_triplet ] {return} } }
// { dg-final { scan-assembler "baz3.*baz3.*baz3.*baz3.*baz3.*baz3" } }