https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
--- Comment #5 from Andrew Pinski ---
Note I filed PR 114540 for the usage in varasm.cc (decode_reg_name_and_count)
as you can come up with a few testcases where we don't reject invalid registers
# when we should.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
--- Comment #4 from Jonathan Wakely ---
Now that we have C++11 we could use std::stoi, std::stol, std::stoul etc. ...
except that they throw exceptions to report out of range values :-(
std::from_chars isn't available until C++17.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed|2010-11-18 22:32:30 |2021-8-24
Keywords|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
--- Comment #2 from Joseph S. Myers 2011-05-12
21:08:14 UTC ---
There are also uses of atol, atoll and atoq to eliminate. Also note some Ada
code using atoi (surely there must be a more idiomatic Ada way of doing this?).
It would be best to poi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|