This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/57821] 'array is too large' error is missing when sizetype overflows
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 15:42:55 +0000
- Subject: [Bug c/57821] 'array is too large' error is missing when sizetype overflows
- Auto-submitted: auto-generated
- References: <bug-57821-4@http.gcc.gnu.org/bugzilla/>
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?