C++0x PATCH to add -fconstexpr-depth

Jason Merrill jason@redhat.com
Tue Mar 15 18:22:00 GMT 2011


The draft standard specifies a minimum limit of 512 recursive constexpr 
calls in order to avoid, say, recursing through the entire range of int. 
  This patch adds a check for this recursion limit and a flag to change 
the limit.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: constexpr-depth.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110315/9e75e51f/attachment.ksh>


More information about the Gcc-patches mailing list