C++ PATCH to fix [[noreturn]]

Jason Merrill jason@redhat.com
Mon Apr 8 03:13:00 GMT 2013


I got a note yesterday from someone trying out GCC 4.8 that noted that 
the compiler gave the "attribute ignored" warning for all their uses of 
[[noreturn]], which is one of the attributes described in the standard. 
  Fixing this was a simple matter of mapping it onto the GNU noreturn 
attribute, which has the same semantics.

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


More information about the Gcc-patches mailing list