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

2017-01-23 Thread Jason Merrill
On Mon, Jan 23, 2017 at 11:15 AM, Paolo Carlini wrote: > in this relatively serious ICE on invalid regression (we don't emit any > message before ICEing) make_typename_type, called by strip_typedefs, returns > error_mark_node which then isn't handled by typedef_variant_p. Indeed, Jakub > noticed t

[C++ Patch/RFC] PR 72764

2017-01-23 Thread Paolo Carlini
Hi, in this relatively serious ICE on invalid regression (we don't emit any message before ICEing) make_typename_type, called by strip_typedefs, returns error_mark_node which then isn't handled by typedef_variant_p. Indeed, Jakub noticed that the same in principle can happen when strip_typede