C++ PATCH for self-referential variable template
Jason Merrill
jason@redhat.com
Wed May 6 02:05:00 GMT 2015
A variable template or partial specialization trying to refer to the
template in its initializer got confused because name lookup found the
VAR_DECL rather than the template. Fixed by avoiding pushing the VAR_DECL.
Tested x86_64-pc-linux-gnu, applying to trunk and 5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vt-self.patch
Type: text/x-patch
Size: 1184 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150506/92ff562b/attachment.bin>
More information about the Gcc-patches
mailing list