On 07/15/11 14:06, H.J. Lu wrote: > On Fri, Jul 15, 2011 at 2:44 AM, Bernd Schmidt <ber...@codesourcery.com> > wrote: >> On 05/10/11 17:51, Bernd Schmidt wrote: >>> This contains the testsuite changes for the C6X port. >> >> Committed this version. No one commented about the changes outside >> gcc.target/tic6x, but I think they are reasonably obvious. I'm open to >> suggestions for other names for the check_effective_target functions. >> >> > > I think this caused: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49757
Fixed. Bernd
Index: gcc/testsuite/ChangeLog =================================================================== --- gcc/testsuite/ChangeLog (revision 176310) +++ gcc/testsuite/ChangeLog (working copy) @@ -32,6 +32,10 @@ * gcc.dg/torture/pr37868.c: Skip on tic6x. * gcc.dg/torture/builtin-math-7.c: Likewise. + PR testsuite/49757 + * gcc/testsuite/gcc.target/tic6x/builtins/c6x-builtins.exp: Return if + not testing tic6x-*-*. + 2011-07-14 Andrew Pinski <pins...@gmail.com> PR tree-opt/49309 Index: gcc/testsuite/gcc.target/tic6x/builtins/c6x-builtins.exp =================================================================== --- gcc/testsuite/gcc.target/tic6x/builtins/c6x-builtins.exp (revision 176310) +++ gcc/testsuite/gcc.target/tic6x/builtins/c6x-builtins.exp (working copy) @@ -19,6 +19,10 @@ load_lib gcc-dg.exp +if { ![istarget tic6x-*-*] } then { + return +} + dg-init gcc-dg-runtest [lsort [glob $srcdir/$subdir/*.c]] "" dg-finish