public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66577] New: ICE with gfortran-5.1.0 in generate_finalization_wrapper
@ 2015-06-17 17:32 Daniel.Kokron at nasa dot gov
  2015-06-17 18:16 ` [Bug fortran/66577] ICE in generate_finalization_wrapper, at fortran/class.c:1567 dominiq at lps dot ens.fr
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel.Kokron at nasa dot gov @ 2015-06-17 17:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66577
           Summary: ICE with gfortran-5.1.0 in
                    generate_finalization_wrapper
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Daniel.Kokron at nasa dot gov
  Target Milestone: ---

gfortran --version
GNU Fortran (GCC) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.

gcc-5.1.0 was build using gmp-6.0.0, mpfr-3.1.2 and mpc-1.0.3

932> cat Minimal.f03
module SingleLinkedListClass
  implicit none
  private

  integer, parameter :: intG_IK = SELECTED_INT_KIND (8)

  type SingleLinkItem
    integer (kind=4), public        :: intTag
    logical (kind=4), public        :: blnIsPointer
    class (*),              pointer :: udtData => NULL ()
    type (SingleLinkItem),  pointer :: udtNext => NULL()
  contains
    final :: Destroy
  end type SingleLinkItem

  type SingleLinkedList
     private
     type (SingleLinkItem), pointer :: udtFirstLink => NULL ()
     integer (intG_IK)    , public  :: intItemCount = 0
   contains
     procedure, public,  pass(this) :: GoToStart
  end type SingleLinkedList

contains
  function GoToStart (this) result (intSuccess)
    implicit none 
    class (SingleLinkedList), intent (inout) :: this
    integer (intG_IK) :: intSuccess = -1
  end function GoToStart

  subroutine Destroy (this)
    implicit none
    type(SingleLinkItem), intent(inout) :: this
    integer(kind=4)                     :: intStat
    DEALLOCATE (this%udtData, STAT=intStat)
    this%intTag = 0
  end subroutine Destroy

end module SingleLinkedListClass

935> gfortran -fPIC -cpp -Wall -Wextra -ffree-form -O2 -m64 -I. -c Minimal.f03
f951: internal compiler error: in generate_finalization_wrapper, at
fortran/class.c:1567
0x61ebab generate_finalization_wrapper
        ../.././gcc/fortran/class.c:1566
0x61ebab gfc_find_derived_vtab(gfc_symbol*)
        ../.././gcc/fortran/class.c:2401
0x69fcb5 resolve_fl_derived
        ../.././gcc/fortran/resolve.c:12950
0x69a747 resolve_symbol
        ../.././gcc/fortran/resolve.c:13230
0x6b2f5b do_traverse_symtree
        ../.././gcc/fortran/symbol.c:3641
0x69d882 resolve_types
        ../.././gcc/fortran/resolve.c:14977
0x6994b0 gfc_resolve(gfc_namespace*)
        ../.././gcc/fortran/resolve.c:15081
0x684df6 gfc_parse_file()
        ../.././gcc/fortran/parse.c:5477
0x6c43f5 gfc_be_parse_file
        ../.././gcc/fortran/f95-lang.c:228


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

* [Bug fortran/66577] ICE in generate_finalization_wrapper, at fortran/class.c:1567
  2015-06-17 17:32 [Bug fortran/66577] New: ICE with gfortran-5.1.0 in generate_finalization_wrapper Daniel.Kokron at nasa dot gov
@ 2015-06-17 18:16 ` dominiq at lps dot ens.fr
  0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-06-17 18:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-06-17
            Summary|ICE with gfortran-5.1.0 in  |ICE in
                   |generate_finalization_wrapp |generate_finalization_wrapp
                   |er                          |er, at fortran/class.c:1567
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.9.2 up to trunk (6.0).


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

end of thread, other threads:[~2015-06-17 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17 17:32 [Bug fortran/66577] New: ICE with gfortran-5.1.0 in generate_finalization_wrapper Daniel.Kokron at nasa dot gov
2015-06-17 18:16 ` [Bug fortran/66577] ICE in generate_finalization_wrapper, at fortran/class.c:1567 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).