public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/55887] New: [OOP][F2008] ICE with CLASS and data-target pointer association in (default) initialization
@ 2013-01-06 14:53 burnus at gcc dot gnu.org
  2013-01-24 19:16 ` [Bug fortran/55887] " tilo@tilo-schwarz.de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-01-06 14:53 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55887
           Summary: [OOP][F2008] ICE with CLASS and data-target pointer
                    association in (default) initialization
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
            Blocks: 45290, 51076


Follow up to PR 55763 comment 14/15.

For CLASS(t) and CLASS(*), gfortran ICEs for pointer default initializers/
initializers which point to a data target instead of NULL.

Example:

    type t
    end type t
    type(t), target :: x
    class(*), pointer :: ptr2 => x
    if (same_type_as (ptr2, x) .neqv. .TRUE.) call abort()
  end


That's a Fortran 2008 feature. (Cf. also PR51076, PR45290 and PR50410 comment
9.)


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

end of thread, other threads:[~2014-03-15 11:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-06 14:53 [Bug fortran/55887] New: [OOP][F2008] ICE with CLASS and data-target pointer association in (default) initialization burnus at gcc dot gnu.org
2013-01-24 19:16 ` [Bug fortran/55887] " tilo@tilo-schwarz.de
2013-01-26 21:10 ` janus at gcc dot gnu.org
2013-01-26 21:21 ` janus at gcc dot gnu.org
2013-07-31 13:09 ` [Bug fortran/55887] [OOP][F08] " janus at gcc dot gnu.org
2013-07-31 13:10 ` janus at gcc dot gnu.org
2013-08-09  8:34 ` janus at gcc dot gnu.org
2014-03-15 11:12 ` 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).