[Bug c++/50976] [C++0x] literal operator with unsigned long long parameter not accepted

3dw4rd at verizon dot net gcc-bugzilla@gcc.gnu.org
Wed Nov 9 20:49:00 GMT 2011


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

--- Comment #14 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2011-11-09 20:21:46 UTC ---
Created attachment 25774
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25774
Potential patch #1

I'll regtest this trivial patch when I get home.

I Just moved the checks for the strings and the length after the numeric value
checks.

Jason, could you check this on your cross compiler?

This seems simplest - it keeps the walk through the parameter list.  I could
put the check for size_type inside the POINTER_TYPE bit after a TREE_CHAIN
(argtype) and test.

Ed



More information about the Gcc-bugs mailing list