public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] hppa: Fix alignment test failures on hppa-hpux
@ 2018-01-21 19:58 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2018-01-21 19:58 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

The following patch fixes a few test failures on hpux due to the limited 
alignment of common.

Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave

-- 
John David Anglin  dave.anglin@bell.net


[-- Attachment #2: nocommon.d --]
[-- Type: text/plain, Size: 1458 bytes --]

2018-01-21  John David Anglin  <danglin@gcc.gnu.org>

	* gcc.dg/pr83621.c: Add -fno-common additional option on hppa*-&-hpux*.
	* gcc.dg/pr83623.c: Likewise.
	* gcc.dg/pr83666.c: Likewise.

Index: gcc.dg/pr83621.c
===================================================================
--- gcc.dg/pr83621.c	(revision 256889)
+++ gcc.dg/pr83621.c	(working copy)
@@ -1,6 +1,7 @@
 /* PR debug/83621 */
 /* { dg-do compile } */
 /* { dg-options "-O -g" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
 
 typedef int __attribute__ ((__vector_size__ (64))) V;
 V v;
Index: gcc.dg/pr83623.c
===================================================================
--- gcc.dg/pr83623.c	(revision 256889)
+++ gcc.dg/pr83623.c	(working copy)
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
 /* { dg-additional-options "-mmovbe" { target i?86-*-* x86_64-*-* } } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
 
 unsigned short __attribute__ ((__vector_size__ (16))) x;
 
Index: gcc.dg/pr83666.c
===================================================================
--- gcc.dg/pr83666.c	(revision 256889)
+++ gcc.dg/pr83666.c	(working copy)
@@ -1,6 +1,7 @@
 /* PR debug/83666 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -g --param=sccvn-max-scc-size=10 -Wno-psabi" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
 
 typedef int __attribute__ ((vector_size (64))) V;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-21 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-21 19:58 [committed] hppa: Fix alignment test failures 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).