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 PR debug/60433: Handle TEMPLATE_TYPE_PARM in dbxout_type


On 9/11/2014 4:18 PM, Jeff Law wrote:
On 09/07/14 11:52, John David Anglin wrote:
The attached change fixes an ICE in dbxout_type on hppa2.0w-hp-hpux11.11
compiling auto-fn24.C.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

OK for trunk and 4.9?
Is dbxout.c allowed to look at language specific nodes? Isn't TEMPLATE_TYPE_PARM defined by the C++ front-end .def file?

It's been eons since I looked at dbxout.c -- does it have hooks to deal with language specific nodes?

I don't have an answer to your questions but in dbxout_type_methods we skip TEMPLATE_DECLs. I stuck the TEMPLATE_TYPE_PARM with void type because of this. It already includes LANG_TYPE.

Dave

--
John David Anglin    dave.anglin@bell.net


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