This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31243] truncating strings longer than 2**32 characters
- From: "domob at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2008 16:31:42 -0000
- Subject: [Bug fortran/31243] truncating strings longer than 2**32 characters
- References: <bug-31243-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from domob at gcc dot gnu dot org 2008-07-24 16:31 -------
This seems to be still in there... Any interest that I work on this? What's
about emitting a warning if either len= or a substring-reference expression is
of a KIND that can have larger values than the machine can handle? As
suggested in comment #2 by Tobias S.
That is truely not too difficult. For constant expressions, one could also try
to give an error whenever the value is too large. Should I work on this or do
you think that's not important or even wanted?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31243