[dwarf2cfi] Fix pr/49713

Richard Henderson rth@redhat.com
Tue Jul 12 19:21:00 GMT 2011


On 07/12/2011 02:29 AM, Richard Earnshaw wrote:
> On 12/07/11 10:05, Andreas Schwab wrote:
>> 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]
>>
>> Andreas.
>>
> 
> And on ARM (PR49713)

Ok, I've removed the inline from the header.

In the process I found a place in dwarf2out that was using dbx 
register numbers instead of dwarf2 register numbers.  Tsk Tsk.
Of course, on most targets they're the same thing.  But still...

Tested on x86_64-linux, arm-eabi (arm-sim).
Cross-compiled ia64-linux, mips-sgi-irix6.5.


r~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110712/c227484d/attachment.ksh>


More information about the Gcc-patches mailing list