pr79732.c: Require alias support.

* gcc.dg/torture/pr79732.c: Require alias support.
	* gcc.dg/tree-ssa/pr56727.c: Move dg-require-alias after dg-do compile.

From-SVN: r246485
This commit is contained in:
John David Anglin 2017-03-26 15:40:29 +00:00
parent 978fcba391
commit 431d78821b
3 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2017-03-26 John David Anglin <danglin@gcc.gnu.org>
* gcc.dg/torture/pr79732.c: Require alias support.
* gcc.dg/tree-ssa/pr56727.c: Move dg-require-alias after dg-do compile.
* gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if
libatomic_available.
* gfortran.dg/coarray_image_status_1.f08: Likewise.

View File

@ -1,4 +1,5 @@
/* { dg-do link } */
/* { dg-require-alias "" } */
int bar () __attribute__ ((alias ("foo")));
void foo () { }

View File

@ -1,5 +1,5 @@
/* { dg-require-alias "" } */
/* { dg-do compile { target fpic } } *
/* { dg-require-alias "" } */
/* { dg-options "-O2 -fPIC -fdump-tree-optimized" } */
void do_not_optimize(int b)
{