Richard Henderson <r...@redhat.com> 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] Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."