From patchwork Thu Apr 28 18:34:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 93274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id B07C5B6F53 for ; Fri, 29 Apr 2011 04:34:45 +1000 (EST) Received: (qmail 16905 invoked by alias); 28 Apr 2011 18:34:44 -0000 Received: (qmail 16828 invoked by uid 22791); 28 Apr 2011 18:34:43 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL, BAYES_05, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Apr 2011 18:34:29 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id C827E81F for ; Thu, 28 Apr 2011 20:34:27 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yujww8qBRM5n for ; Thu, 28 Apr 2011 20:34:26 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 1716581E for ; Thu, 28 Apr 2011 20:34:23 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p3SIYNiO008495; Thu, 28 Apr 2011 20:34:23 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [testsuite] Use -fno-common in gcc.dg/pr48616.c for Tru64 UNIX (PR tree-optimization/48775) Date: Thu, 28 Apr 2011 20:34:23 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 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)));