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: Fri, 30 Mar 2012 14:30:20 +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 #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-03-30 14:30:20 UTC ---
I short-circuited the overflow check in libcpp in case the literal was resolved
in C++ FE as a raw literal. The raw literal should be able to take any number
of digits. Ditto the literal operator template.