[committed] Fix gcc.dg/debug/pr49294.c on hppa*-*-hpux*

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Jun 27 05:28:00 GMT 2011


Yet another case where we can't use common.  Tested on hppa2.0w-hp-hpux11.11
and hppa64-hp-hpux11.11.  Committed to trunk.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2011-06-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* gcc.dg/debug/pr49294.c (dg-options): Add -fno-common to options on
	hppa*-*-hpux*.

Index: gcc.dg/debug/pr49294.c
===================================================================
--- gcc.dg/debug/pr49294.c	(revision 175293)
+++ gcc.dg/debug/pr49294.c	(working copy)
@@ -1,5 +1,6 @@
 /* PR debug/49294 */
 /* { dg-do compile } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 typedef __attribute__ ((vector_size ((8) * sizeof (short)))) short V;
 



More information about the Gcc-patches mailing list