This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/19654] compilation crashes when variable is too large instead of showing error



------- 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]