[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

2011-02-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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

2011-02-14 Thread kloedej at knmi dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #16 from Jos de Kloe kloedej at knmi dot nl 2011-02-14 14:12:15 UTC --- (In reply to comment #15) FIXED on the 4.4 and 4.5 branches and on the 4.6 trunk. Thanks Jos and Eric for the reports! Hi Tobias, thanks a lot for looking

[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

2011-02-13 Thread burnus at gcc dot gnu.org
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

[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

2011-02-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #12 from Tobias Burnus burnus at gcc dot gnu.org 2011-02-13 19:26:27 UTC --- Author: burnus Date: Sun Feb 13 19:26:24 2011 New Revision: 170110 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=170110 Log: 2011-02-13 Tobias Burnus

[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

2011-02-12 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #9 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-02-12 19:07:43 UTC --- The patch in comment #8 fixes this pr but also pr45244.

[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

2011-02-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||Eric.Zurcher at

[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

2011-02-11 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #8 from Tobias Burnus burnus at gcc dot gnu.org 2011-02-11 23:27:35 UTC --- Submitted patch (with some modifications): http://gcc.gnu.org/ml/fortran/2011-02/msg00087.html

[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

2011-02-10 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Attachment #23230|0 |1 is

[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

2011-02-10 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #7 from Tobias Burnus burnus at gcc dot gnu.org 2011-02-10 15:18:09 UTC --- (In reply to comment #0) The example uses s(i) in stead of s(i:j) to pass the string, and this was a common usage pattern in the old fortran77 days, so this

[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

2011-02-02 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 Paul Thomas pault at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[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

2011-02-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #5 from Tobias Burnus burnus at gcc dot gnu.org 2011-02-03 07:46:17 UTC --- (In reply to comment #4) I am guessing but I suppose ultimate pointer components should be included too? Yes, however, gfc_expr_attr (actual).pointer does

[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

2011-02-01 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Keywords|

[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

2011-02-01 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #2 from Tobias Burnus burnus at gcc dot gnu.org 2011-02-01 11:33:33 UTC --- A bit unrelated to the reported problem, but I wonder whether the coarray/coindexed part is already correctly checked for: If the actual argument is a

[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

2011-02-01 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 --- Comment #3 from Tobias Burnus burnus at gcc dot gnu.org 2011-02-01 14:54:10 UTC --- (In reply to comment #2) Draft patch: + || gfc_expr_attr (actual).pointer That check won't work as foo(1) is never a pointer while foo might

[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

2011-02-01 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Target