On Fri, Mar 25, 2016 at 05:29:26PM -0400, Jason Merrill wrote: > 70353 is a problem with the function-local static declaration of > __func__. Normally constexpr functions can't have local statics, so > this is only an issue with __func__. Meanwhile, core issue 1962 looks > like it's going to be resolved by changing __func__ et al to be prvalue > constants of type const char * rather than static local array variables, > so implementing that proposed resolution also resolves this issue, as > well as 62466 which complains about the strings not being merged between > translation units. This patch proceeds from Martin's work last year. > > Tested x86_64-pc-linux-gnu, applying to trunk.
This patch caused PR70422, a bootstrap comparison failure on aarch64, ia64, and powerpc64. Segher