diff options
author | Richard Henderson <rth@redhat.com> | 2009-06-26 18:13:11 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2009-06-26 18:13:11 -0700 |
commit | c24aef95c7197300cfa51cdd65d0424933165ee3 (patch) | |
tree | ed2f234ac0d2570de5e50432b071b20649fd5b72 /gcc | |
parent | 81de09e12367933066f96c1631a872b510278c4d (diff) | |
download | gcc-c24aef95c7197300cfa51cdd65d0424933165ee3.zip gcc-c24aef95c7197300cfa51cdd65d0424933165ee3.tar.gz gcc-c24aef95c7197300cfa51cdd65d0424933165ee3.tar.bz2 |
re PR testsuite/40565 (Extra failures)
PR testsuite/40565
* gcc.dg/vect/vect.exp: Add -fno-ipa-cp-clone to -O3 tests.
* gcc.target/i386/local.c: Pass a non-constant to T.
From-SVN: r149002
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect.exp | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/local.c | 7 |
3 files changed, 14 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cdfe1ff..75923b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-06-26 Richard Henderson <rth@redhat.com> + + PR testsuite/40565 + * gcc.dg/vect/vect.exp: Add -fno-ipa-cp-clone to -O3 tests. + * gcc.target/i386/local.c: Pass a non-constant to T. + 2009-06-26 Janus Weil <janus@gcc.gnu.org> PR fortran/39997 diff --git a/gcc/testsuite/gcc.dg/vect/vect.exp b/gcc/testsuite/gcc.dg/vect/vect.exp index ea314ea..5158e09 100644 --- a/gcc/testsuite/gcc.dg/vect/vect.exp +++ b/gcc/testsuite/gcc.dg/vect/vect.exp @@ -256,9 +256,10 @@ lappend DEFAULT_VECTCFLAGS "--param" "ggc-min-expand=0" "--param" "ggc-min-heaps dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/ggc-*.\[cS\]]] \ "" $DEFAULT_VECTCFLAGS -# With -O3 +# With -O3. +# Don't allow IPA cloning, because it throws our counts out of whack. set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS -lappend DEFAULT_VECTCFLAGS "-O3" +lappend DEFAULT_VECTCFLAGS "-O3 -fno-ipa-cp-clone" if [istarget "spu-*-*"] { lappend DEFAULT_VECTCFLAGS "-funroll-loops" } diff --git a/gcc/testsuite/gcc.target/i386/local.c b/gcc/testsuite/gcc.target/i386/local.c index eca16f1..4cb5c81 100644 --- a/gcc/testsuite/gcc.target/i386/local.c +++ b/gcc/testsuite/gcc.target/i386/local.c @@ -5,10 +5,13 @@ /* Verify that local calling convention is used. */ static t(int) __attribute__ ((noinline)); -m() +extern volatile int i; + +void m(void) { - t(1); + t(i); } + static t(int a) { asm("magic %0"::"g"(a)); |