From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10824 invoked by alias); 12 Jul 2011 15:31:31 -0000 Received: (qmail 10813 invoked by uid 22791); 12 Jul 2011 15:31:30 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jul 2011 15:31:07 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6CFV78L007061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Jul 2011 11:31:07 -0400 Received: from anchor.twiddle.net (vpn-225-164.phx2.redhat.com [10.3.225.164]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6CFV6i7005682; Tue, 12 Jul 2011 11:31:06 -0400 Message-ID: <4E1C68BA.8060201@redhat.com> Date: Tue, 12 Jul 2011 16:31:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Andreas Schwab CC: GCC Patches Subject: Re: [dwarf2cfi] Cleanup interpretation of cfa.reg References: <4E1B5413.9050702@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00921.txt.bz2 On 07/12/2011 02:05 AM, Andreas Schwab wrote: > Richard Henderson writes: > >> @@ -261,6 +262,15 @@ extern void dwarf2out_set_demangle_name_func (const char *(*) (const char *)); >> extern void dwarf2out_vms_debug_main_pointer (void); >> #endif >> >> +/* Unfortunately, DWARF_FRAME_REGNUM is not universally defined in such a >> + way as to force an unsigned return type. Do that via inline wrapper. */ >> + >> +static inline unsigned >> +dwarf_frame_regnum (unsigned regnum) >> +{ >> + return DWARF_FRAME_REGNUM (regnum); >> +} >> + > > I think this has caused the bootstrap failure on ia64: > > In file included from ../../gcc/dwarf2cfi.c:31:0: > ../../gcc/dwarf2out.h: In function 'dwarf_frame_regnum': > ../../gcc/dwarf2out.h:271:3: error: implicit declaration of function 'ia64_dbx_register_number' [-Werror=implicit-function-declaration] Dang it. And the whole point of adding that inline was to enhance portability across targets. Ok, I'll fix it in a minute. r~