On 11/22/24 7:40 AM, Heiko Eißfeldt wrote:
A simple replacement of atoi() with strtol() in varasm.cc:decode_reg_name_and_count().
Parsing now has errno ERANGE checking, eg no undetected overflow.

Being new it is difficult for me to come up with a good test case.
So I don't see any technical problem with the patch, but we don't have any evidence there's any kind of bug here. I guess if a port had a bogus register name we could trigger a problem.

Given we're in stage3 (bugfixing) in preparation for the gcc-15 release in the spring, I'm going to defer this patch.

Jeff

Reply via email to