[Bug c++/52654] [C++11] Warn on overflow in user-defined literals

3dw4rd at verizon dot net gcc-bugzilla@gcc.gnu.org
Fri Apr 6 15:33:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52654

Ed Smith-Rowland <3dw4rd at verizon dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27054|0                           |1
        is obsolete|                            |
  Attachment #27103|0                           |1
        is obsolete|                            |

--- Comment #13 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-04-06 15:32:39 UTC ---
Created attachment 27105
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27105
New patch incorporating recent suggestions.

Using warning_at, OPT_Woverflow, etc.
Added a new enum for overflow type and used it everywhere.

regtested fine on x86_64-linux-gnu.



More information about the Gcc-bugs mailing list