public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60234] [4.9 Regression] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1883
Date: Mon, 17 Feb 2014 10:28:00 -0000	[thread overview]
Message-ID: <bug-60234-4-NxnrRWowVN@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-60234-4@http.gcc.gnu.org/bugzilla/>

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-02-17
                 CC|                            |janus at gcc dot gnu.org
            Summary|OOP internal compiler       |[4.9 Regression] [OOP] ICE
                   |error: in                   |in
                   |generate_finalization_wrapp |generate_finalization_wrapp
                   |er                          |er at fortran/class.c:1883
     Ever confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org ---
Reduced test case:


module ObjectLists
    implicit none

    Type TObjectList
    contains
      FINAL :: finalize
    end Type

    Type, extends(TObjectList):: TRealCompareList
    end Type

contains

  subroutine finalize(L)
    Type(TObjectList) :: L
  end subroutine


  integer function CompareReal(this)
    Class(TRealCompareList) :: this
  end function

end module


4.8 rejects it cleanly ('not yet implemented'), so the ICE is a regression.


  reply	other threads:[~2014-02-17 10:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16 22:55 [Bug fortran/60234] New: OOP internal compiler error: in generate_finalization_wrapper antony at cosmologist dot info
2014-02-17 10:28 ` janus at gcc dot gnu.org [this message]
2014-02-17 10:39 ` [Bug fortran/60234] [4.9 Regression] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1883 janus at gcc dot gnu.org
2014-02-17 11:11 ` janus at gcc dot gnu.org
2014-02-17 11:28 ` janus at gcc dot gnu.org
2014-02-17 12:24 ` janus at gcc dot gnu.org
2014-02-17 13:46 ` janus at gcc dot gnu.org
2014-02-17 14:19 ` janus at gcc dot gnu.org
2014-02-21  9:07 ` janus at gcc dot gnu.org
2014-02-21  9:09 ` janus at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-60234-4-NxnrRWowVN@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).