C++ PATCH for c++/70344 (ICE with recursive constexpr)

Jason Merrill jason@redhat.com
Wed Mar 23 18:44:00 GMT 2016


cp_fold tries to fold calls to constexpr functions.  When we are inside 
a constexpr function at the time and see a call to the same function, 
this caused trouble because we hadn't adjusted the parameter types yet. 
  Fixed by handling this special case of calling a constexpr function 
that isn't defined yet.

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


More information about the Gcc-patches mailing list