From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14857 invoked by alias); 12 Jul 2011 09:29:51 -0000 Received: (qmail 14726 invoked by uid 22791); 12 Jul 2011 09:29:50 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TVD_SUBJ_NUM_OBFU_MINFP X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (94.185.240.25) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 12 Jul 2011 09:29:34 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Tue, 12 Jul 2011 10:29:31 +0100 Received: from [10.1.67.34] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 12 Jul 2011 10:29:29 +0100 Message-ID: <4E1C13F8.7030409@arm.com> Date: Tue, 12 Jul 2011 09:50:00 -0000 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Andreas Schwab CC: Richard Henderson , GCC Patches Subject: Re: [dwarf2cfi] Cleanup interpretation of cfa.reg References: <4E1B5413.9050702@redhat.com> In-Reply-To: X-MC-Unique: 111071210293104601 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable 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/msg00882.txt.bz2 On 12/07/11 10:05, Andreas Schwab wrote: > Richard Henderson writes: >=20 >> @@ -261,6 +262,15 @@ extern void dwarf2out_set_demangle_name_func (const= char *(*) (const char *)); >> extern void dwarf2out_vms_debug_main_pointer (void); >> #endif >>=20=20 >> +/* 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); >> +} >> +=20=20 >=20 > I think this has caused the bootstrap failure on ia64: >=20 > 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 'ia6= 4_dbx_register_number' [-Werror=3Dimplicit-function-declaration] >=20 > Andreas. >=20 And on ARM (PR49713) R.