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: "jasonwucj at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jul 2013 04:51:02 +0000
- Subject: [Bug c/57821] 'array is too large' error is missing when sizetype overflows
- Auto-submitted: auto-generated
- References: <bug-57821-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821
--- Comment #6 from Chung-Ju Wu <jasonwucj at gmail dot com> ---
(In reply to Chung-Ju Wu from comment #4)
> (In reply to John David Anglin from comment #3)
> > On 32-bit hppa-unknown-linux-gnu:
> >
> Same issue on my 32-bit nds32le-elf target:
>
Interesting. With our target testing results:
Target is nds32le-unknown-elf
Host is x86_64-unknown-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2013-07/msg02149.html
Target is nds32le-unknown-elf
Host is i686-pc-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2013-07/msg02147.html
Check gcc test summary, it shows that the problem only appears on 32-bit host.
John, does your case happen on 32-bit only as well? :)