From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10978 invoked by alias); 8 Nov 2004 21:02:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10932 invoked from network); 8 Nov 2004 21:02:19 -0000 Received: from unknown (HELO palrel11.hp.com) (156.153.255.246) by sourceware.org with SMTP; 8 Nov 2004 21:02:19 -0000 Received: from smtp1.ptp.hp.com (smtp1.ptp.hp.com [15.1.28.250]) by palrel11.hp.com (Postfix) with ESMTP id D6C9FBDF9 for ; Mon, 8 Nov 2004 13:02:18 -0800 (PST) Received: from hpsje.cup.hp.com (hpsje.cup.hp.com [15.244.96.221]) by smtp1.ptp.hp.com (Postfix) with ESMTP id C43A941DA4 for ; Mon, 8 Nov 2004 21:02:18 +0000 (UTC) Received: (from sje@localhost) by hpsje.cup.hp.com (8.9.3 (PHNE_24419+JAGae58098)/8.7.3 TIS Messaging 5.0) id NAA16893 for gcc-patches@gcc.gnu.org; Mon, 8 Nov 2004 13:02:18 -0800 (PST) Date: Mon, 08 Nov 2004 21:31:00 -0000 From: Steve Ellcey Message-Id: <200411082102.NAA16893@hpsje.cup.hp.com> To: gcc-patches@gcc.gnu.org Subject: Patch: Fix gcc.dg/uninit-H.c on PA and IA64 Reply-To: sje@cup.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00648.txt.bz2 I'll consider this test suite change as an obvious fix and check it in unless someone complains. I tested it on hppa (32 and 64 hpux versions) and on IA64 (hpux and linux). Steve Ellcey sje@cup.hp.com 2004-11-08 Steve Ellcey * testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__. *** gcc.orig/gcc/testsuite/gcc.dg/uninit-H.c Mon Nov 8 12:55:49 2004 --- gcc/gcc/testsuite/gcc.dg/uninit-H.c Mon Nov 8 12:55:34 2004 *************** *** 10,19 **** # define ASM __asm__("r1") #elif defined __s390__ # define ASM __asm__("r15") ! #elif defined __mips ! # define ASM __asm__("$sp") ! #elif defined __sparc__ ! # define ASM __asm__("sp") #else # define ASM #endif --- 10,19 ---- # define ASM __asm__("r1") #elif defined __s390__ # define ASM __asm__("r15") ! #elif defined __ia64__ ! # define ASM __asm__("r12") ! #elif defined __hppa__ ! # define ASM __asm__("%r30") #else # define ASM #endif