This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52654] [C++11] Warn on overflow in user-defined literals
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Mar 2012 16:57:12 +0000
- Subject: [Bug c++/52654] [C++11] Warn on overflow in user-defined literals
- Auto-submitted: auto-generated
- References: <bug-52654-4@http.gcc.gnu.org/bugzilla/>
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.