* [committed] Fix alias requirement for gcc.dg/torture/pr79732.c and gcc.dg/tree-ssa/pr56727.c
@ 2017-03-26 20:13 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2017-03-26 20:13 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
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.anglin@bell.net
[-- Attachment #2: alias.d.txt --]
[-- Type: text/plain, Size: 913 bytes --]
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.
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-26 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-26 20:13 [committed] Fix alias requirement for gcc.dg/torture/pr79732.c and gcc.dg/tree-ssa/pr56727.c John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).