Re: [C++ Patch/RFC] PR 58582

2014-05-03 Thread Jason Merrill
OK. Jason

Re: [C++ Patch/RFC] PR 58582

2014-05-02 Thread Paolo Carlini
Hi, On 05/02/2014 08:05 PM, Jason Merrill wrote: I'd tweak instantiate_decl differently; a deleted function is defined, so pattern_defined should be true. I see, thanks. Simply setting pattern_defined and nothing else appears to work very well. The only minor annoyance is that DECL_STRUCT_FUNCT

Re: [C++ Patch/RFC] PR 58582

2014-05-02 Thread Jason Merrill
I'd tweak instantiate_decl differently; a deleted function is defined, so pattern_defined should be true. Jason

[C++ Patch/RFC] PR 58582

2014-05-02 Thread Paolo Carlini
Hi, this relatively old bug report is about an ICE during error recovery and some time ago I figured out that the below simple tweak to grokfndecl worked for it (we notice that duplicate_decls returned error_mark_node). Today, however, while formatting the original testcases, I noticed someth