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, On 06/03/2018 21:33, Jason Merrill wrote:
Good point, yes, I believe we can, isn't necessary for all the snippets I have around neither apparently to pass the testsuite (but this is rather straightforward, right?). As I said, I tried many different things, some also fiddled with TREE_PURPOSE, in pt.c too, but in what I sent I only added the check out of a reflex. Anyway, the below is in libstdc++, so far so good.Interesting, that seems like a promising idea. I'm not sure we need to do this based on an error in a default template arg, though; can we drop + || error_operand_p (TREE_PURPOSE (parameter))) ?
Thanks, Paolo. //////////////////
Attachment:
patch_71169_71832_b
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |