Fix gcc.dg/torture/pr77937-[12].c for real.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 14 Oct 2016 11:24:41 +0000 (13:24 +0200)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 14 Oct 2016 11:24:41 +0000 (11:24 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr77937-1.c
gcc/testsuite/gcc.dg/torture/pr77937-2.c

index 2d0b4a329a84339f206252e3d0ddbc0ede37b8be..93ca24f3751f9900f0bd22e6b1248360180410a7 100644 (file)
@@ -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.
index 33761aa2464cf4463b9ea524905d7920eacdc36d..8661d24ec28cb6b21bd6dc72747c0489a47dd28a 100644 (file)
@@ -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;
index afb69fb3c18a5d7fd4810b07acfdce479cda27fd..37b4fd671eba26afd7aea719c14cbea6f3754d74 100644 (file)
@@ -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);