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/18568] pointers in derived data types do not transmit shape of pointed to arrays - bug or non-standard feature?


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-19 18:09 -------
Confirmed, reduced testcase:
        MODULE ints
           type, PUBLIC                           ::      bar
              integer,pointer                     ::      th(:)
           end type bar
        CONTAINS
           FUNCTION foo(b)
              TYPE( bar ),INTENT(IN)              ::      b
              integer                             ::      foo(size(b%th )  )
           end function foo
        END MODULE ints
        program size_test
          use ints
        end program size_test

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code, rejects-
                   |                            |valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-19 18:09:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18568


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