From: law Date: Sun, 13 Dec 2015 12:51:02 +0000 (+0000) Subject: [PATCH] m68k testsuite TLC X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=378682db1f54eb74723308c9d308af26575c8cc5;p=thirdparty%2Fgcc.git [PATCH] m68k testsuite TLC * gcc.target/m68k/pr63347.c: Remove #include add -w to command line options. * gcc.target/m68k/20090709-1.c: Adjust expected output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231596 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9c371765f95d..38d1dbea8d13 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-12-13 Jeff Law + + * gcc.target/m68k/pr63347.c: Remove #include add -w to + command line options. + * gcc.target/m68k/20090709-1.c: Adjust expected output. + 2015-12-12 David Edelsohn * g++.dg/opt/pr48549.C: XFAIL AIX. diff --git a/gcc/testsuite/gcc.target/m68k/20090709-1.c b/gcc/testsuite/gcc.target/m68k/20090709-1.c index fda05b7566dd..ce835a11f174 100644 --- a/gcc/testsuite/gcc.target/m68k/20090709-1.c +++ b/gcc/testsuite/gcc.target/m68k/20090709-1.c @@ -1,11 +1,11 @@ /* { dg-do compile } */ /* There should be 3 occurrences of .LC0 in the code: one for the definition of "0", - one for use in test1() and one for use in test2(). + The occurrence in test1 is collapsed to an integer constant FIXME: At the moment m68k GCC does not optimize test1() to nop for some reason. */ -/* { dg-final { scan-assembler-times ".LC0" 3 } } */ +/* { dg-final { scan-assembler-times ".LC0" 2 } } */ void dummy(char *arg); diff --git a/gcc/testsuite/gcc.target/m68k/pr63347.c b/gcc/testsuite/gcc.target/m68k/pr63347.c index 1d23e9a827aa..63964769766a 100644 --- a/gcc/testsuite/gcc.target/m68k/pr63347.c +++ b/gcc/testsuite/gcc.target/m68k/pr63347.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mcpu=5208" } */ - -#include +/* { dg-options "-O2 -mcpu=5208 -w" } */ void __attribute__ ((noinline)) oof()