public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30625]  New: Array pointers to components of derived type arrays do not work
@ 2007-01-28 20:14 pault at gcc dot gnu dot org
  2007-01-28 20:33 ` [Bug fortran/30625] " tkoenig at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-01-28 20:14 UTC (permalink / raw)
  To: gcc-bugs

This:

type :: a
  real :: r = 3.14159
  integer :: i = 42
end type a
type(a), target :: dt(2)
integer, pointer :: ip(:)

ip => dt%i
print *, ip
end

produces
$ ./a
  1078530000          42
with gfortran, whereas the correct result should be two 42s

Paul


-- 
           Summary: Array pointers to components of derived type arrays do
                    not work
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pault at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-09-16  9:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-28 20:14 [Bug fortran/30625] New: Array pointers to components of derived type arrays do not work pault at gcc dot gnu dot org
2007-01-28 20:33 ` [Bug fortran/30625] " tkoenig at gcc dot gnu dot org
2007-01-29  0:16 ` tobi at gcc dot gnu dot org
2007-01-29  7:50 ` pault at gcc dot gnu dot org
2007-02-01 11:28 ` dfranke at gcc dot gnu dot org
2007-02-02 19:20 ` paulthomas2 at wanadoo dot fr
2007-02-10 21:18 ` fxcoudert at gcc dot gnu dot org
2007-02-11  9:52 ` pault at gcc dot gnu dot org
2007-07-04  6:34 ` jv244 at cam dot ac dot uk
2007-08-18 18:28 ` tkoenig at gcc dot gnu dot org
2007-09-03 11:48 ` pault at gcc dot gnu dot org
2007-09-16  9:18 ` pault at gcc dot gnu dot org
2007-09-16  9:39 ` pault at gcc dot gnu dot org

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).