This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19654] compilation crashes when variable is too large instead of showing error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2006 05:43:10 -0000
- Subject: [Bug fortran/19654] compilation crashes when variable is too large instead of showing error
- References: <bug-19654-9126@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-07 05:43 -------
(In reply to comment #2)
> It seems that, above a given size, gfortran declares the array as non-static:
Does not matter, the front-end is supposed to error out when the array's size
has overflowed.
The DECL_SIZE_UNIT is <integer_cst 0x42e64800 overflow -34359738368>
See the overflow. There were a couple of bugs about the C, C++ and Ada
front-ends that were like this bug (I cannot find them currently).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19654