aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr77937-1.c3
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr77937-2.c3
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);