The attached patch fixes the alias requirement for gcc.dg/torture/pr79732.c and 
gcc.dg/tree-ssa/pr56727.c,
so the tests don't fail on 32-bit hppa-hpux.  Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2017-03-26  John David Anglin  <dang...@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.

Index: gcc.dg/torture/pr79732.c
===================================================================
--- gcc.dg/torture/pr79732.c    (revision 246324)
+++ gcc.dg/torture/pr79732.c    (working copy)
@@ -1,4 +1,5 @@
 /* { dg-do link } */
+/* { dg-require-alias "" } */
 
 int bar () __attribute__ ((alias ("foo")));
 void foo () { }
Index: gcc.dg/tree-ssa/pr56727.c
===================================================================
--- gcc.dg/tree-ssa/pr56727.c   (revision 246324)
+++ gcc.dg/tree-ssa/pr56727.c   (working copy)
@@ -1,5 +1,5 @@
+/* { dg-do compile { target fpic } } *
 /* { dg-require-alias "" } */
-/* { dg-do compile { target fpic } } *
 /* { dg-options "-O2 -fPIC -fdump-tree-optimized" } */
 void do_not_optimize(int b)
 {

Reply via email to