From: Uros Bizjak Date: Fri, 14 Oct 2016 11:24:41 +0000 (+0200) Subject: Fix gcc.dg/torture/pr77937-[12].c for real. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb3ac86754e416f716e478f309f13108f9e9ac7f;p=gcc.git Fix gcc.dg/torture/pr77937-[12].c for real. 2016-10-14 Uros Bizjak * gcc.dg/torture/pr77937-1.c: Move -O3 to dg-options. Pass -march=amdfam10 for both i?86-?-* and x86_64-*-*. * gcc.dg/torture/pr77937-2.c: Likewise. From-SVN: r241157 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2d0b4a329a8..93ca24f3751 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-10-14 Uros Bizjak + + * gcc.dg/torture/pr77937-1.c: Move -O3 to dg-options. + Pass -march=amdfam10 for both i?86-?-* and x86_64-*-*. + * gcc.dg/torture/pr77937-2.c: Likewise. + 2016-10-14 Eric Botcazou * gnat.dg/lto15.adb: Adjust. diff --git a/gcc/testsuite/gcc.dg/torture/pr77937-1.c b/gcc/testsuite/gcc.dg/torture/pr77937-1.c index 33761aa2464..8661d24ec28 100644 --- a/gcc/testsuite/gcc.dg/torture/pr77937-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr77937-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-do options "-O3 -march=amdfam10" { target { i?86-*-* x86_64-*-* } } } */ +/* { dg-options "-O3" } */ +/* { dg-additional-options "-march=amdfam10" { target i?86-*-* x86_64-*-* } } */ int *a; int b, c, d; diff --git a/gcc/testsuite/gcc.dg/torture/pr77937-2.c b/gcc/testsuite/gcc.dg/torture/pr77937-2.c index afb69fb3c18..37b4fd671eb 100644 --- a/gcc/testsuite/gcc.dg/torture/pr77937-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr77937-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-do options "-O3 -march=amdfam10" { target { i?86-*-* x86_64-*-* } } } */ +/* { dg-options "-O3" } */ +/* { dg-additional-options "-march=amdfam10" { target i?86-*-* x86_64-*-* } } */ extern int fn2(int); extern int fn3(int);