From: John David Anglin Date: Sun, 26 Mar 2017 15:40:29 +0000 (+0000) Subject: pr79732.c: Require alias support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=431d78821b63012f5f675c711a6252fb78fb0660;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94cbe783c98..cd8d3d0abb6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2017-03-26 John David Anglin + * 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. diff --git a/gcc/testsuite/gcc.dg/torture/pr79732.c b/gcc/testsuite/gcc.dg/torture/pr79732.c index 7231ba4f139..ed2695bf267 100644 --- a/gcc/testsuite/gcc.dg/torture/pr79732.c +++ b/gcc/testsuite/gcc.dg/torture/pr79732.c @@ -1,4 +1,5 @@ /* { dg-do link } */ +/* { dg-require-alias "" } */ int bar () __attribute__ ((alias ("foo"))); void foo () { } diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c b/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c index eaf8b5c971d..3080ce183b8 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c @@ -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) {