From cfa5154cc14716ce89e6340814aca950013df96b Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Mon, 27 Apr 2009 08:17:39 +0000 Subject: [PATCH] backport: pr39496.c: Compile with -mtune=i686. 2009-04-27 Richard Guenther Backport from mainline 2009-04-18 Eric Botcazou * gcc.target/i386/pr39496.c: Compile with -mtune=i686. * g++.dg/other/pr39496.C: Likewise. From-SVN: r146827 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/g++.dg/other/pr39496.C | 2 +- gcc/testsuite/gcc.target/i386/pr39496.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0a7cd962005a..d4aa8fc5c469 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2009-04-27 Richard Guenther + + Backport from mainline + 2009-04-18 Eric Botcazou + + * gcc.target/i386/pr39496.c: Compile with -mtune=i686. + * g++.dg/other/pr39496.C: Likewise. + 2009-04-23 Dodji Seketeli PR c++/38228 diff --git a/gcc/testsuite/g++.dg/other/pr39496.C b/gcc/testsuite/g++.dg/other/pr39496.C index 94e33abbe11f..5b1e76c7576a 100644 --- a/gcc/testsuite/g++.dg/other/pr39496.C +++ b/gcc/testsuite/g++.dg/other/pr39496.C @@ -1,6 +1,6 @@ // PR target/39496 // { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && ilp32 } } } -// { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -msse2 -mfpmath=sse" } +// { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -mtune=i686 -msse2 -mfpmath=sse" } // Verify that {foo,bar}{,2}param are all passed on the stack, using // normal calling conventions, when not optimizing. // { dg-final { scan-assembler "\[^0-9-\]8\\(%ebp\\),\[^\n\]*fooparam," } } diff --git a/gcc/testsuite/gcc.target/i386/pr39496.c b/gcc/testsuite/gcc.target/i386/pr39496.c index d90a2c7f3ea1..e4132a1165b3 100644 --- a/gcc/testsuite/gcc.target/i386/pr39496.c +++ b/gcc/testsuite/gcc.target/i386/pr39496.c @@ -1,6 +1,6 @@ /* PR target/39496 */ /* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && ilp32 } } } */ -/* { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -msse2 -mfpmath=sse" } */ +/* { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -mtune=i686 -msse2 -mfpmath=sse" } */ /* Verify that {foo,bar}{,2}param are all passed on the stack, using normal calling conventions, when not optimizing. */ /* { dg-final { scan-assembler "\[^0-9-\]8\\(%ebp\\),\[^\n\]*fooparam," } } */ -- 2.47.2