This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37746] string copy fails, due to changed intent(in) parameter
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2008 19:53:00 -0000
- Subject: [Bug fortran/37746] string copy fails, due to changed intent(in) parameter
- References: <bug-37746-11277@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2008-10-06 19:53 -------
I think the true bug is that -fbounds-check misses the problem. NAG f95 prints
at run time:
CHARACTER actual arg LEN=50 shorter than dummy arg LEN=51
Program terminated by fatal error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37746