This won't apply cleanly to trunk; I changed the code in CGDecl.cpp. That said, the other parts look fine.
-Eli On Mon, Jun 17, 2013 at 7:18 AM, Rafael Espíndola < [email protected]> wrote: > ping > > On 6 June 2013 17:42, Rafael Espíndola <[email protected]> wrote: > >> Hmm. I think you should use the linkage of the enclosing function > >> instead of linkonce_odr; in particular, if the enclosing function is an > >> explicit template instantiation, the static local should have weak_odr > >> linkage. > > > > Good catch. I have fixed it and include a testcase. > > > > Cheers, > > Rafael > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
