C++ PATCHes for c++/54020, 54086 (minor constexpr issues)

Jason Merrill jason@redhat.com
Wed Jul 25 14:55:00 GMT 2012


54020 notes that we were accepting a constexpr function that is 
ill-formed, no diagnostic required, but it would be easy to give a 
diagnostic for.

54086 suggests that the standard seems to allow constexpr and const 
together.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 54020.patch
Type: text/x-patch
Size: 2913 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120725/f3bb6c51/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 54086.patch
Type: text/x-patch
Size: 1833 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120725/f3bb6c51/attachment-0001.bin>


More information about the Gcc-patches mailing list