C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-07 Thread Marek Polacek
This was one of those PRs where the more you poke, the more ICEs turn up. This patch fixes the ones I could find. The original problem was that maybe_instantiate_noexcept got a TEMPLATE_DECL created for the member friend template in do_friend. Its noexcept-specification was deferred, so we went t

Re: C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-14 Thread Marek Polacek
Ping. On Thu, Mar 07, 2019 at 04:52:55PM -0500, Marek Polacek wrote: > This was one of those PRs where the more you poke, the more ICEs turn up. > This patch fixes the ones I could find. The original problem was that > maybe_instantiate_noexcept got a TEMPLATE_DECL created for the member > friend

Re: C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-14 Thread Jason Merrill
On 3/7/19 4:52 PM, Marek Polacek wrote: This was one of those PRs where the more you poke, the more ICEs turn up. This patch fixes the ones I could find. The original problem was that maybe_instantiate_noexcept got a TEMPLATE_DECL created for the member friend template in do_friend. Its noexcep

Re: C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-19 Thread Marek Polacek
On Thu, Mar 14, 2019 at 04:22:41PM -0400, Jason Merrill wrote: > On 3/7/19 4:52 PM, Marek Polacek wrote: > > This was one of those PRs where the more you poke, the more ICEs turn up. > > This patch fixes the ones I could find. The original problem was that > > maybe_instantiate_noexcept got a TEMP

Re: C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-21 Thread Jason Merrill
On 3/19/19 11:45 AM, Marek Polacek wrote: On Thu, Mar 14, 2019 at 04:22:41PM -0400, Jason Merrill wrote: On 3/7/19 4:52 PM, Marek Polacek wrote: This was one of those PRs where the more you poke, the more ICEs turn up. This patch fixes the ones I could find. The original problem was that maybe

Re: C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-28 Thread Marek Polacek
On Thu, Mar 21, 2019 at 04:00:41PM -0400, Jason Merrill wrote: > On 3/19/19 11:45 AM, Marek Polacek wrote: > > On Thu, Mar 14, 2019 at 04:22:41PM -0400, Jason Merrill wrote: > > > On 3/7/19 4:52 PM, Marek Polacek wrote: > > > > This was one of those PRs where the more you poke, the more ICEs turn

Re: C++ PATCH for c++/89612 - ICE with member friend template with noexcept

2019-03-28 Thread Jason Merrill
On 3/28/19 2:59 PM, Marek Polacek wrote: On Thu, Mar 21, 2019 at 04:00:41PM -0400, Jason Merrill wrote: On 3/19/19 11:45 AM, Marek Polacek wrote: On Thu, Mar 14, 2019 at 04:22:41PM -0400, Jason Merrill wrote: On 3/7/19 4:52 PM, Marek Polacek wrote: This was one of those PRs where the more you