C++ PATCH for c++/49107 (excessive instantiation due to noexcept)

Jason Merrill jason@redhat.com
Wed Jun 8 22:09:00 GMT 2011

49107 is an issue with the addition of noexcept to the standard library 
causing extra instantiations, to the point that code that worked before 
doesn't work now due to circular dependency.  Someone suggested that to 
avoid this problem we could defer instantiation of noexcept-specifiers 
until they are actually needed.  This patch implements that suggestion, 
and does in fact seem to fix the problem.

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

More information about the Gcc-patches mailing list