[Bug c/57821] 'array is too large' error is missing when sizetype overflows
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 27 15:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-07-27
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #12 from Eric Gallager <egallager at gcc dot gnu.org> ---
Error is printed for me on i386-apple-darwin9.8.0, whether building 32-bit or
64-bit:
$ /usr/local/bin/gcc -m32 -c 30455.c
30455.c:6:1: error: size of array is too large
};
^
$ /usr/local/bin/gcc -m64 -c 30455.c
30455.c:6:1: error: size of array is too large
};
^
$
Is this still a bug for others?
More information about the Gcc-bugs
mailing list