public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@redhat.com>
To: Richard Henderson <rth@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [dwarf2cfi] Cleanup interpretation of cfa.reg
Date: Tue, 12 Jul 2011 09:16:00 -0000	[thread overview]
Message-ID: <m3d3hfj2cn.fsf@hase.home> (raw)
In-Reply-To: <4E1B5413.9050702@redhat.com> (Richard Henderson's message of	"Mon, 11 Jul 2011 12:50:43 -0700")

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

  reply	other threads:[~2011-07-12  9:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 20:17 Richard Henderson
2011-07-12  9:16 ` Andreas Schwab [this message]
2011-07-12  9:50   ` Richard Earnshaw
2011-07-12 19:21     ` [dwarf2cfi] Fix pr/49713 Richard Henderson
2011-07-12 16:31   ` [dwarf2cfi] Cleanup interpretation of cfa.reg Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d3hfj2cn.fsf@hase.home \
    --to=schwab@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).