This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47569] [4.3/4.4/4.5/4.6 Regression] gfortran does not detect that the parameters for passing a partial string to a subroutine are incorrect
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 13 Feb 2011 10:12:03 +0000
- Subject: [Bug fortran/47569] [4.3/4.4/4.5/4.6 Regression] gfortran does not detect that the parameters for passing a partial string to a subroutine are incorrect
- Auto-submitted: auto-generated
- References: <bug-47569-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569
--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-13 10:11:44 UTC ---
(In reply to comment #8)
> Submitted patch (with some modifications):
> http://gcc.gnu.org/ml/fortran/2011-02/msg00087.html
Mikael pointed out that I have probably misread the standard with regards to
restrictions for pointer character actual arguments.
As the text is a bit confusing (first part seems to allow all scalar character
actual arguments, second part implies the restrictions also apply to elements
of character arrays), I have asked at J3:
http://j3-fortran.org/pipermail/j3/2011-February/004191.html