C++ PATCH to fix constexpr/noexcept bug

Jason Merrill jason@redhat.com
Mon Mar 28 15:50:00 GMT 2011


We need to call cxx_constant_value after converting to bool, in case the 
conversion uses a conversion operator.

Tested x86_64-pc-linux-gnu, applying to trunk and 4.6.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cx-noexcept.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110328/5022feb7/attachment.ksh>


More information about the Gcc-patches mailing list