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
This commit is contained in:
Richard Henderson 2009-06-26 18:13:11 -07:00 committed by Richard Henderson
parent 81de09e123
commit c24aef95c7
3 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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"
}

View File

@ -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));