C++ PATCH for c++/56684 (ICE with const local in template)

Jason Merrill jason@redhat.com
Fri Mar 22 20:21:00 GMT 2013


We were treating a constant VAR_DECL as non-dependent because it has a 
non-dependent type, even though it has a value-dependent initializer.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 56684.patch
Type: text/x-patch
Size: 1029 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130322/c3a2f0b2/attachment.bin>


More information about the Gcc-patches mailing list