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  <r...@cebitec.uni-bielefeld.de>

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

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)));


-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to