This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix ICE when dumping in ipa inline pass
- From: Ian Lance Taylor <iant at google dot com>
- To: Mark Heffernan <meheff at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 08 Oct 2009 07:57:09 -0700
- Subject: Re: [PATCH] Fix ICE when dumping in ipa inline pass
- References: <eb1af5570910072107m7a6e73acjf7790d81f3e75dfb@mail.gmail.com>
Mark Heffernan <meheff@google.com> writes:
> - (*lang_hooks.decl_printable_name) (temp, 2));
> + (DECL_NAME (temp) ?
> + (*lang_hooks.decl_printable_name) (temp, 2) : "(unnamed)"));
Richi OK'ed this, but note that formatting should be
(DECL_NAME (temp)
? (*lang_hooks.decl_printable_name) (temp, 2)
: "(unnamed)"));
Ian