This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ICE when dumping in ipa inline pass


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]