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/18022] problem with structure and calling a function


------- Additional Comments From tobi at gcc dot gnu dot org  2005-07-09 17:45 -------
(In reply to comment #13)

Sorry, the code I posted for illustration had a typo:
> Say,
>    type a
>        real*8 :: x
>        integer*1 :: i
>    end type
>    type(a), target :: v(50)
>    real, pointer :: p(:)
       ^^^ should be REAL*8
>    p => v(:)%x


-- 


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


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