From patchwork Thu Oct 20 16:14:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 120834 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 D7520B70C8 for ; Fri, 21 Oct 2011 03:15:15 +1100 (EST) Received: (qmail 21220 invoked by alias); 20 Oct 2011 16:15:02 -0000 Received: (qmail 21131 invoked by uid 22791); 20 Oct 2011 16:15:00 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g6t0185.atlanta.hp.com (HELO g6t0185.atlanta.hp.com) (15.193.32.62) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Oct 2011 16:14:46 +0000 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g6t0185.atlanta.hp.com (Postfix) with ESMTP id A46EA24640 for ; Thu, 20 Oct 2011 16:14:45 +0000 (UTC) Received: from adlwrk05.cce.hp.com (adlwrk05.cce.hp.com [16.85.100.124]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id 760FC140AD for ; Thu, 20 Oct 2011 16:14:45 +0000 (UTC) Received: (from sje@localhost) by adlwrk05.cce.hp.com (8.11.1 (PHNE_35951)/8.7.3 TIS Messaging 5.0) id p9KGEic20374 for gcc-patches@gcc.gnu.org; Thu, 20 Oct 2011 09:14:44 -0700 (PDT) Date: Thu, 20 Oct 2011 09:14:44 -0700 (PDT) From: Steve Ellcey Message-Id: <201110201614.p9KGEic20374@adlwrk05.cce.hp.com> To: gcc-patches@gcc.gnu.org Subject: [patch, testsuite] Patch for gcc.dg/pr49994-3.c on HP-UX Reply-to: sje@cup.hp.com Mime-Version: 1.0 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 I am going to check this change in as obvious later today if there are no objections, the test gives warnings on HP-UX because it calls __builtin_return_address with arguments of 0 through 5 but the value 0 is the only valid argument to __builtin_return_address on HP-UX. Tested on IA64 and PA HP-UX. Steve Ellcey sje@cup.hp.com 2011-10-20 Steve Ellcey PR testsuite/50722 * gcc.dg/pr49994-3.c: Skip on HP-UX. Index: gcc.dg/pr49994-3.c =================================================================== --- gcc.dg/pr49994-3.c (revision 180233) +++ gcc.dg/pr49994-3.c (working copy) @@ -2,6 +2,7 @@ /* { dg-options "-O2 -fsched2-use-superblocks -g" } */ /* { dg-options "-O2 -fsched2-use-superblocks -g -mbackchain" { target s390*-*-* } } */ /* { dg-require-effective-target scheduling } */ +/* { dg-skip-if "" { *-*-hpux* } { "*" } { "" } } */ void * foo (int offset)