[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/52654] [C++11] Warn on overflow in user-defined literals
From:       "3dw4rd at verizon dot net" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2012-03-31 18:29:45
Message-ID: bug-52654-4-O8lwLViRWo () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #8 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-03-31 18:29:45 UTC ---
I think it's actually (-3)_w.  The tokenizer would pick the - up and pass -3
along.

The result of applying a literal operator may not be numeric at all i.e.
operator- would mean nothing.

I guess it would be taken care of however -3 would be for unsigned long long.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic