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
This commit is contained in:
Uros Bizjak 2016-10-14 13:24:41 +02:00 committed by Rainer Orth
parent 2c3e40f590
commit cb3ac86754
3 changed files with 10 additions and 2 deletions

View 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.

View 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;

View 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);