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

--- Comment #17 from Florian Weimer <fw at gcc dot gnu.org> ---
See integral_argument in gcc/opts-common.cc:

    181 HOST_WIDE_INT
    182 integral_argument (const char *arg, int *err, bool byte_size_suffix)
    183 {
    184   if (!err)
    185     err = &errno;
    186 
    187   if (!ISDIGIT (*arg))
    188     {
    189       *err = EINVAL;
    190       return -1;
    191     }
    192 
    193   *err = 0;
    194   errno = 0;

I agree it's rare, but it's not entirely unheard of.

Reply via email to