C++ PATCH for c++/64251 (unnecessary template instantiation)

Jason Merrill jason@redhat.com
Thu Dec 18 22:20:00 GMT 2014


Here we were seeing errors because of template instantiation triggered 
by mark_used within fold_non_dependent_expr.  We don't want to 
instantiate templates based on uses in other uninstantiated templates, 
and we were already trying to avoid that; let's add another check to 
avoid it.

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


More information about the Gcc-patches mailing list