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] |
+ /* Templates do not need assembler names. */ + if (DECL_LANG_SPECIFIC (decl) + && (DECL_TEMPLATE_INSTANTIATION (decl) + || DECL_TEMPLATE_SPECIALIZATION (decl))) + return false;
We never see TEMPLATE_DECLs. The root of the problem was that I was causing ICEs in the name mangler whenever I tried to create assembler names for certain VAR_DECLs and FUNCTION_DECLs.
What they all have in common is that they either depend on template arguments or they are a template specialization.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |