public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46327] New: type field access by . (instead of %) unsupported
@ 2010-11-06  4:41 jan.kratochvil at redhat dot com
  2010-11-06  4:49 ` [Bug fortran/46327] " kargl at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jan.kratochvil at redhat dot com @ 2010-11-06  4:41 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: type field access by . (instead of %) unsupported
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jan.kratochvil@redhat.com
            Target: x86_64-unknown-linux-gnu


Some legacy Fortrans supported access type.field (like in C).
It works with iFort (11.1 20100806).
It does not work with:
GNU Fortran (GCC) 4.4.6 20101105 (prerelease)
GNU Fortran (GCC) 4.6.0 20101105 (experimental)

program main
  type foo
    integer :: a
  end type foo
  type(foo) :: q
  q.a = 3
  print *, q
end program main

->

struct.f90:6.2:

  q.a = 3
  1
Error: Unclassifiable statement at (1)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-06  9:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-06  4:41 [Bug fortran/46327] New: type field access by . (instead of %) unsupported jan.kratochvil at redhat dot com
2010-11-06  4:49 ` [Bug fortran/46327] " kargl at gcc dot gnu.org
2010-11-06  5:01 ` jan.kratochvil at redhat dot com
2010-11-06  6:20 ` sgk at troutmask dot apl.washington.edu
2010-11-06  6:50 ` sgk at troutmask dot apl.washington.edu
2010-11-06  7:18 ` jan.kratochvil at redhat dot com
2010-11-06  9:21 ` steven at gcc dot gnu.org
2010-11-06  9:25 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).