C++ PATCH for c++/69261 (ICE with constexpr and arrays)

Jason Merrill jason@redhat.com
Thu Jan 14 15:12:00 GMT 2016


In my fix for 67104 I knew that I wasn't handling RANGE_EXPRs, but 
thought that it wasn't necessary, and left an assert to make sure. 
Apparently I was wrong, so this patch implements the necessary range 
splitting when the constexpr code wants to store to a single element of 
a range.

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


More information about the Gcc-patches mailing list