diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2016-10-14 13:24:41 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2016-10-14 11:24:41 +0000 |
commit | cb3ac86754e416f716e478f309f13108f9e9ac7f (patch) | |
tree | 539b6960672842350757acd10e5ea38dcdcaa567 /gcc | |
parent | 2c3e40f5902a17e6373a198d16426b74ff772fbc (diff) | |
download | gcc-cb3ac86754e416f716e478f309f13108f9e9ac7f.zip gcc-cb3ac86754e416f716e478f309f13108f9e9ac7f.tar.gz gcc-cb3ac86754e416f716e478f309f13108f9e9ac7f.tar.bz2 |
Fix gcc.dg/torture/pr77937-[12].c for real.
2016-10-14 Uros Bizjak <ubizjak@gmail.com>
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr77937-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr77937-2.c | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2d0b4a3..93ca24f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-10-14 Uros Bizjak <ubizjak@gmail.com> + + * 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 <ebotcazou@adacore.com> * 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 33761aa..8661d24 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 afb69fb..37b4fd6 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); |