This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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 obsolete|                            |
             Status|NEW                         |ASSIGNED
         AssignedTo|pault at gcc dot gnu.org    |burnus at gcc dot gnu.org

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-10 15:10:35 UTC ---
Created attachment 23295
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23295
Updated patch with test case

Full patch, currently regtesting; needs a cross check and can then be
submitted.

Polymorphic test case (disabled) fails due to an earlier ICE, cf. PR 47680.

F2008 quote ("12.5.2.4 Ordinary dummy variables"):
"If the actual argument is a noncoindexed scalar, the corresponding dummy
argument shall be scalar unless the actual argument is default character, of
type character with the C character kind (15.2.2), or is an element or
substring of an element of an array that is not an assumed-shape, pointer, or
polymorphic array."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]