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/16487] gfortran core dump on big array


------- Additional Comments From olchansk at panix dot com  2004-07-12 21:06 -------
Note that the test case code is flawed- it is pointless to explicitely
initialize a global variable to zero- it is located in BSS and it is by
definition zero-filled. 

I suggest that instead of "properly fixing" this core dump, gfortran should trap
this condition and give an error "not implemented: sorry, array 'foo' is too big
to be initialized".

K.O.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16487


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