Commit 431d7882 by John David Anglin

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
parent 978fcba3
2017-03-26 John David Anglin <danglin@gcc.gnu.org> 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 * gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if
libatomic_available. libatomic_available.
* gfortran.dg/coarray_image_status_1.f08: Likewise. * gfortran.dg/coarray_image_status_1.f08: Likewise.
......
/* { dg-do link } */ /* { dg-do link } */
/* { dg-require-alias "" } */
int bar () __attribute__ ((alias ("foo"))); int bar () __attribute__ ((alias ("foo")));
void foo () { } void foo () { }
......
/* { dg-require-alias "" } */
/* { dg-do compile { target fpic } } * /* { dg-do compile { target fpic } } *
/* { dg-require-alias "" } */
/* { dg-options "-O2 -fPIC -fdump-tree-optimized" } */ /* { dg-options "-O2 -fPIC -fdump-tree-optimized" } */
void do_not_optimize(int b) void do_not_optimize(int b)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment