diff mbox

[testsuite] Use -fno-common in gcc.dg/pr48616.c for Tru64 UNIX (PR tree-optimization/48775)

Message ID yddtydi6x8w.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth April 28, 2011, 6:34 p.m. UTC
Like HP-UX, Tru64 UNIX needs -fno-common to make gcc.dg/pr48616.c pass.

Tested with the appropriate runtest invocation, installed on mainline.

	Rainer


2011-04-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR tree-optimization/48775
	* gcc.dg/pr48616.c: Also add -fno-common on alpha*-dec-osf*.
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/pr48616.c
===================================================================
--- gcc/testsuite/gcc.dg/pr48616.c	(revision 173124)
+++ gcc/testsuite/gcc.dg/pr48616.c	(working copy)
@@ -1,7 +1,7 @@ 
 /* PR tree-optimization/48616 */
 /* { dg-do run } */
 /* { dg-options "-O2 -ftree-vectorize" } */
-/* { dg-options "-O2 -ftree-vectorize -fno-common" { target hppa*-*-hpux* } } */
+/* { dg-options "-O2 -ftree-vectorize -fno-common" { target alpha*-dec-osf* hppa*-*-hpux* } } */
 
 extern void abort (void);
 int a[4] __attribute__((aligned (32)));