Re: [C++ PATCH] 79296, ICE mangling local class

2017-02-13 Thread Jason Merrill
OK. On Mon, Feb 13, 2017 at 12:04 PM, Nathan Sidwell wrote: > On 02/06/2017 02:19 PM, Jason Merrill wrote: > >>> AFAICT we cannot easily assert the condition anymore -- C++11 added the >>> ability for instantiations involving local types. >> >> >> That doesn't mean they have linkage, though; this

Re: [C++ PATCH] 79296, ICE mangling local class

2017-02-13 Thread Nathan Sidwell
On 02/06/2017 02:19 PM, Jason Merrill wrote: AFAICT we cannot easily assert the condition anymore -- C++11 added the ability for instantiations involving local types. That doesn't mean they have linkage, though; this type isn't subject to the ODR, so need_assembler_name_p should be false. I n