From: Jeff Law Date: Sun, 13 Dec 2015 12:51:02 +0000 (-0700) Subject: [PATCH] m68k testsuite TLC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d686d8067a3d4ff451a6e55959feb56984f3d8be;p=gcc.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. From-SVN: r231596 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9c371765f95..38d1dbea8d1 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 fda05b7566d..ce835a11f17 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 1d23e9a827a..63964769766 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()