This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20520] allocatable arrays used without being allocated without a warning
- From: "ebertakis at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2005 19:07:06 -0000
- Subject: [Bug fortran/20520] allocatable arrays used without being allocated without a warning
- References: <20050317173138.20520.ebertakis@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebertakis at gmail dot com 2005-03-17 19:07 -------
(In reply to comment #1)
I tried it in Compaq Visual Fortran Professional Edition 6.5 and indeed the
compiler accepts the code. The debugger though will display an error message
indicating the line "a(1)=2*b(1)" and saying that the array bounds were exceeded.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20520