* [committed] Fix alignment in gcc.dg/pr57233.c and c-c++-common/pr50459.c on hppa*-*-hpux*
@ 2014-08-07 18:12 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2014-08-07 18:12 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Both hunks
committed to trunk. First hunk committed to 4.9 branch.
Dave
--
John David Anglin dave.anglin@bell.net
[-- Attachment #2: p1.d.txt --]
[-- Type: text/plain, Size: 1098 bytes --]
2014-08-07 John David Anglin <danglin@gcc.gnu.org>
* gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*.
* c-c++-common/pr50459.c: Likewise.
Index: gcc.dg/pr57233.c
===================================================================
--- gcc.dg/pr57233.c (revision 213683)
+++ gcc.dg/pr57233.c (working copy)
@@ -1,6 +1,7 @@
/* PR tree-optimization/57233 */
/* { dg-do run { target { ilp32 || lp64 } } } */
/* { dg-options "-O2" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
typedef unsigned V4 __attribute__((vector_size(4 * sizeof (int))));
typedef unsigned V8 __attribute__((vector_size(8 * sizeof (int))));
Index: c-c++-common/pr50459.c
===================================================================
--- c-c++-common/pr50459.c (revision 213683)
+++ c-c++-common/pr50459.c (working copy)
@@ -1,6 +1,7 @@
/* PR c/50459 */
/* { dg-do compile } */
/* { dg-options "-Wall -Wextra" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
enum { A = 128, B = 1 };
void *fn1 (void) __attribute__((assume_aligned (A)));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-07 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 18:12 [committed] Fix alignment in gcc.dg/pr57233.c and c-c++-common/pr50459.c on hppa*-*-hpux* 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).