Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-03-12 Thread Jason Merrill
On Mon, Mar 5, 2018 at 7:05 PM, Martin Sebor wrote: > On 02/23/2018 07:32 PM, Jason Merrill wrote: >> On Sun, Feb 18, 2018 at 11:39 PM, Jason Merrill wrote: >>> On Fri, Feb 16, 2018 at 4:33 PM, Martin Sebor wrote: On 02/16/2018 07:04

Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-03-05 Thread Martin Sebor
On 02/23/2018 07:32 PM, Jason Merrill wrote: On Sun, Feb 18, 2018 at 11:39 PM, Jason Merrill wrote: On Fri, Feb 16, 2018 at 4:33 PM, Martin Sebor wrote: On 02/16/2018 07:04 AM, Jason Merrill wrote: On Thu, Feb 15, 2018 at 6:36 PM, Martin Sebor

Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-02-23 Thread Jason Merrill
On Sun, Feb 18, 2018 at 11:39 PM, Jason Merrill wrote: > On Fri, Feb 16, 2018 at 4:33 PM, Martin Sebor wrote: >> On 02/16/2018 07:04 AM, Jason Merrill wrote: >>> >>> On Thu, Feb 15, 2018 at 6:36 PM, Martin Sebor wrote: A failed

Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-02-18 Thread Jason Merrill
On Fri, Feb 16, 2018 at 4:33 PM, Martin Sebor wrote: > On 02/16/2018 07:04 AM, Jason Merrill wrote: >> >> On Thu, Feb 15, 2018 at 6:36 PM, Martin Sebor wrote: >>> >>> A failed template deduction in template member of a template >>> triggers an ICE with

Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-02-16 Thread Martin Sebor
On 02/16/2018 07:04 AM, Jason Merrill wrote: On Thu, Feb 15, 2018 at 6:36 PM, Martin Sebor wrote: A failed template deduction in template member of a template triggers an ICE with -std=c++17 due to what seems like a missing handling of invalid input. Replacing the

Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-02-16 Thread Jason Merrill
84015 seems likely to be related. On Fri, Feb 16, 2018 at 9:04 AM, Jason Merrill wrote: > On Thu, Feb 15, 2018 at 6:36 PM, Martin Sebor wrote: >> A failed template deduction in template member of a template >> triggers an ICE with -std=c++17 due to what seems

Re: [PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-02-16 Thread Jason Merrill
On Thu, Feb 15, 2018 at 6:36 PM, Martin Sebor wrote: > A failed template deduction in template member of a template > triggers an ICE with -std=c++17 due to what seems like > a missing handling of invalid input. Replacing > the gcc_unreachable() call that causes the ICE with a

[PATCH] replace ICE with error for failed template deduction (PR 84355)

2018-02-15 Thread Martin Sebor
A failed template deduction in template member of a template triggers an ICE with -std=c++17 due to what seems like a missing handling of invalid input. Replacing the gcc_unreachable() call that causes the ICE with a return statement indicating the deduction failure eliminates the ICE and