[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2017-08-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2017-08-01 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #13 from joseph at codesourcery dot com --- Previous discussions in this bug suggest it was specific to 32-bit HOST_WIDE_INT. HOST_WIDE_INT is now always 64-bit.

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2017-07-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2014-09-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #11 from John David Anglin danglin at gcc dot gnu.org --- Backtrace at ICE: Breakpoint 1, _Z12tree_to_uhwiPK9tree_node (t=0x7ae68b58) at ../../gcc/gcc/tree.c:7024 7024 gcc_assert (tree_fits_uhwi_p (t)); (gdb) p debug_tree

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2014-03-14 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Known to fail||4.9.0 ---

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-25 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #7 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org --- (In reply to Chung-Ju Wu from comment #6) Check gcc test summary, it shows that the problem only appears on 32-bit host. That's because of the different size of

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-25 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #8 from dave.anglin at bell dot net --- On 25-Jul-13, at 12:51 AM, jasonwucj at gmail dot com wrote: John, does your case happen on 32-bit only as well? Yes. -- John David Anglindave.ang...@bell.net

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-25 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #9 from dave.anglin at bell dot net --- On 25-Jul-13, at 6:56 AM, amylaar at gcc dot gnu.org wrote: hwint.h says that HOST_WIDE_INT should be 64 bit when targeting a machine with 64 bit size_t. You can insure that by setting

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-24 Thread jasonwucj at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #4 from Chung-Ju Wu jasonwucj at gmail dot com --- (In reply to John David Anglin from comment #3) On 32-bit hppa-unknown-linux-gnu: Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdi r/gcc/

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-24 Thread jasonwucj at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #5 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:

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-24 Thread jasonwucj at gmail dot com
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:

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-23 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added CC||danglin at

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #1 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org --- avr faces an additional issue in c/c-typeck:set_init_index, where the designator value is converted to bitsizetype; that is 24 bit PSImode for avr.

[Bug c/57821] 'array is too large' error is missing when sizetype overflows

2013-07-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57821 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com --- Wondering if c++/57793 has also something to do with this (sorry if I'm saying something stupid, I didn't really study it in any detail)