public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/53951] New: [OOP] Later TARGET statement ignored for CLASS
@ 2012-07-13 13:12 burnus at gcc dot gnu.org
  2013-06-11 19:18 ` [Bug fortran/53951] " dominiq at lps dot ens.fr
  2023-03-06 17:08 ` anlauf at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-07-13 13:12 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53951
           Summary: [OOP] Later TARGET statement ignored for CLASS
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: janus@gcc.gnu.org


Related, but slightly different: PR 51610 and PR 52227.


The following program is rejected as the "TARGET B" comes too late:

  C => B ! Valid, but rejected
       1
  Error: Pointer assignment target is neither TARGET nor POINTER at (1)


type t
end type t

class(t), pointer :: C

TARGET :: A
class(t), allocatable :: A, B
TARGET :: B

C => A ! Valid
C => B ! Valid, but rejected
end


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

* [Bug fortran/53951] [OOP] Later TARGET statement ignored for CLASS
  2012-07-13 13:12 [Bug fortran/53951] New: [OOP] Later TARGET statement ignored for CLASS burnus at gcc dot gnu.org
@ 2013-06-11 19:18 ` dominiq at lps dot ens.fr
  2023-03-06 17:08 ` anlauf at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-06-11 19:18 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-11
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Still present at revision 199959.


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

* [Bug fortran/53951] [OOP] Later TARGET statement ignored for CLASS
  2012-07-13 13:12 [Bug fortran/53951] New: [OOP] Later TARGET statement ignored for CLASS burnus at gcc dot gnu.org
  2013-06-11 19:18 ` [Bug fortran/53951] " dominiq at lps dot ens.fr
@ 2023-03-06 17:08 ` anlauf at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-03-06 17:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53951

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #2 from anlauf at gcc dot gnu.org ---
Duplicate.  The testcase in comment#0 is contained in class_74.f90 .

*** This bug has been marked as a duplicate of bug 106856 ***

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

end of thread, other threads:[~2023-03-06 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 13:12 [Bug fortran/53951] New: [OOP] Later TARGET statement ignored for CLASS burnus at gcc dot gnu.org
2013-06-11 19:18 ` [Bug fortran/53951] " dominiq at lps dot ens.fr
2023-03-06 17:08 ` anlauf at gcc dot gnu.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).