C++ PATCH for c++/59614 (compile hog with lots of templates)

Jason Merrill jason@redhat.com
Wed Jan 8 18:47:00 GMT 2014


I was forgetting that recursing into template arguments would in turn 
recurse into their template arguments, leading to quadratic behavior. 
So, look at template arguments only once and add any inherited tags to 
the instantiated type.

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


More information about the Gcc-patches mailing list