public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/43214]  New: [OOP] TBP with non-scalar PASS
@ 2010-02-28 21:05 burnus at gcc dot gnu dot org
  2010-03-01  7:48 ` [Bug fortran/43214] " domob at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-02-28 21:05 UTC (permalink / raw)
  To: gcc-bugs

I think there was not yet a PR about this. The following program compiles with
NAG f95 but fails in gfortran with:

call x(:)%foo
      1
Error: Non-scalar base object at (1) currently not implemented


module m
type t
contains
  procedure, pass :: foo => foo
end type t
contains
  elemental subroutine foo(x)
    class(t),intent(in) :: x
  end subroutine foo
end module m

use m
type(t) :: x(3)
call x(:)%foo
end


-- 
           Summary: [OOP] TBP with non-scalar PASS
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

* [Bug fortran/43214] [OOP] TBP with non-scalar PASS
  2010-02-28 21:05 [Bug fortran/43214] New: [OOP] TBP with non-scalar PASS burnus at gcc dot gnu dot org
@ 2010-03-01  7:48 ` domob at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: domob at gcc dot gnu dot org @ 2010-03-01  7:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from domob at gcc dot gnu dot org  2010-03-01 07:48 -------
This is mentioned as still missing in PR 41177 which I kept open for that, but
it's probably really a good idea to have a new PR.  I'll close 41177 instead,
referring here.  Note that there might be some infos and especially one
test-case in PR 41177.


-- 

domob at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |domob at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-01 07:48:26
               date|                            |


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


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

end of thread, other threads:[~2010-03-01  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-28 21:05 [Bug fortran/43214] New: [OOP] TBP with non-scalar PASS burnus at gcc dot gnu dot org
2010-03-01  7:48 ` [Bug fortran/43214] " domob 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).