Re: [PATCH v2] c++: ICE with real-to-int conversion in template [PR97973]

2021-03-17 Thread Marek Polacek via Gcc-patches
On Wed, Mar 17, 2021 at 04:45:00PM -0400, Jason Merrill wrote: > On 3/8/21 7:52 PM, Marek Polacek wrote: > > Yeah; it's worked pretty well for classes after we've dealt with the > > initial fallout. I've factored the check into a new function, and also > > extended it with the case where we'd crea

Re: [PATCH v2] c++: ICE with real-to-int conversion in template [PR97973]

2021-03-17 Thread Jason Merrill via Gcc-patches
On 3/8/21 7:52 PM, Marek Polacek wrote: On Fri, Mar 05, 2021 at 05:15:49PM -0500, Jason Merrill via Gcc-patches wrote: On 3/3/21 7:55 PM, Marek Polacek wrote: In this test we are building a call in a template, but since neither the function nor any of its arguments are dependent, we go down the

Re: [PATCH v2] c++: ICE with real-to-int conversion in template [PR97973]

2021-03-08 Thread Marek Polacek via Gcc-patches
On Fri, Mar 05, 2021 at 05:15:49PM -0500, Jason Merrill via Gcc-patches wrote: > On 3/3/21 7:55 PM, Marek Polacek wrote: > > In this test we are building a call in a template, but since neither > > the function nor any of its arguments are dependent, we go down the > > normal path in finish_call_ex