https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120526

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> Another workaround is to do:
> ```
>   size = strtoimax (str, &end, 10);
>   if (!str) __builtin_unreachable();
> ```

This basically emulates what the nonnull attribute will do in the end.

Reply via email to