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] |
Hi,in this bug we ICE in dwarf2out.c:is_base_type with -g, because it doesn't know how to handle the TEMPLATE_TYPE_PARM coming from the C++ front-end and representing 'auto' in this kind of C++1y code.
That it shouldn't ICE and return 0 instead I'm pretty sure, I'm less sure about the next problem, that is what gen_type_die_with_usage should do: build a DW_TAG_unspecified_type, like happens for NULLPTR_TYPE or LANG_TYPE?!? Anyway, my wild guessing resulted in adding an hook, per the below draft (in any case, tentative names and comments but passes testing). Or we want something completely different?
Thanks, Paolo. ///////////////////////
Attachment:
p
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |