This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #5 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-03-31 16:57:12 UTC ---
Created attachment 27053
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27053
This test should give no warnings.

I think I'm going to have to put off interpreting numbers until the very end
inside the call resolution.  I think I should completely remove the numeric
value from the literal tree.

Sigh.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]