From: Uros Bizjak Date: Sun, 16 Nov 2008 14:14:44 +0000 (+0100) Subject: pr36246.c: Add -fomit-frame-pointer to dg-options. X-Git-Tag: releases/gcc-4.4.0~1639 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cf98868513b35e5b9607e03577c17f490a172bb;p=thirdparty%2Fgcc.git pr36246.c: Add -fomit-frame-pointer to dg-options. * gcc.target/i386/pr36246.c: Add -fomit-frame-pointer to dg-options. * gcc.target/i386/pr32661-1.c: Ditto. * gcc.target/i386/pr34256.c: Ditto. * gcc.target/i386/pr22076.c: Ditto. Check for "movl" instruction on nonpic targets only. From-SVN: r141916 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3fc91620fa99..8327d6ca027a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-11-16 Uros Bizjak + + * gcc.target/i386/pr36246.c: Add -fomit-frame-pointer to dg-options. + * gcc.target/i386/pr32661-1.c: Ditto. + * gcc.target/i386/pr34256.c: Ditto. + * gcc.target/i386/pr22076.c: Ditto. Check for "movl" instruction on + nonpic targets only. + 2008-11-16 Paul Thomas PR fortran/38119 @@ -11,8 +19,8 @@ 2008-11-15 Paul Thomas - PR fortran/37926 - * gfortran.dg/dummy_procedure_3.f90: New test. + PR fortran/37926 + * gfortran.dg/dummy_procedure_3.f90: New test. 2008-11-15 Jakub Jelinek diff --git a/gcc/testsuite/gcc.target/i386/pr22076.c b/gcc/testsuite/gcc.target/i386/pr22076.c index de3e8e819318..5195f361c254 100644 --- a/gcc/testsuite/gcc.target/i386/pr22076.c +++ b/gcc/testsuite/gcc.target/i386/pr22076.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -flax-vector-conversions -mmmx" } */ +/* { dg-options "-O2 -fomit-frame-pointer -flax-vector-conversions -mmmx" } */ #include @@ -15,5 +15,4 @@ __v8qi test () } /* { dg-final { scan-assembler-times "movq" 3 } } */ -/* { dg-final { scan-assembler-times "movl" 1 { target { ilp32 && nonpic } } } } */ -/* { dg-final { scan-assembler-times "movl" 2 { target { ilp32 && { ! nonpic } } } } } */ +/* { dg-final { scan-assembler-not "movl" { target nonpic } } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr32661-1.c b/gcc/testsuite/gcc.target/i386/pr32661-1.c index 068c86180327..9411c28872a0 100644 --- a/gcc/testsuite/gcc.target/i386/pr32661-1.c +++ b/gcc/testsuite/gcc.target/i386/pr32661-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -fomit-frame-pointer" } */ typedef long long __m128i __attribute__ ((__vector_size__ (16))); diff --git a/gcc/testsuite/gcc.target/i386/pr34256.c b/gcc/testsuite/gcc.target/i386/pr34256.c index 59afdfc10220..e207ecef7c39 100644 --- a/gcc/testsuite/gcc.target/i386/pr34256.c +++ b/gcc/testsuite/gcc.target/i386/pr34256.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2 -march=core2" } */ +/* { dg-options "-O2 -fomit-frame-pointer -march=core2" } */ #include diff --git a/gcc/testsuite/gcc.target/i386/pr36246.c b/gcc/testsuite/gcc.target/i386/pr36246.c index 5ef573213abd..4f3e155cb359 100644 --- a/gcc/testsuite/gcc.target/i386/pr36246.c +++ b/gcc/testsuite/gcc.target/i386/pr36246.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2 -mtune=generic" } */ +/* { dg-options "-O2 -fomit-frame-pointer -mtune=generic" } */ typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__)); typedef int __v4si __attribute__ ((__vector_size__ (16)));