public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95091] New: ICE in gfc_hash_value, at fortran/class.c:538
@ 2020-05-12 16:45 gscfq@t-online.de
  2020-06-06 20:48 ` [Bug fortran/95091] " anlauf at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2020-05-12 16:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95091
           Summary: ICE in gfc_hash_value, at fortran/class.c:538
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

A more complex example, switches between 44 (ok) and 45 (ICE) :
(backtrace varies with release and name length)


$ cat z1_44.f90
module m2345678901234567890123456789012345678901234
  type t2345678901234567890123456789012345678901234
  end type
  interface
    module subroutine s2345678901234567890123456789012345678901234 &
      (x2345678901234567890123456789012345678901234)
    end
  end interface
end
submodule(m2345678901234567890123456789012345678901234) &
  n2345678901234567890123456789012345678901234
  type, extends(t2345678901234567890123456789012345678901234) :: &
    u2345678901234567890123456789012345678901234
  end type
end


$ cat z1_45.f90
module m23456789012345678901234567890123456789012345
  type t23456789012345678901234567890123456789012345
  end type
  interface
    module subroutine s23456789012345678901234567890123456789012345 &
      (x23456789012345678901234567890123456789012345)
    end
  end interface
end
submodule(m23456789012345678901234567890123456789012345) &
  n23456789012345678901234567890123456789012345
  type, extends(t23456789012345678901234567890123456789012345) :: &
    u23456789012345678901234567890123456789012345
  end type
end


$ cat z1_63.f90
module m23456789012345678901234567890123456789012345678901234567890123
  type t23456789012345678901234567890123456789012345678901234567890123
  end type
  interface
    module subroutine
s23456789012345678901234567890123456789012345678901234567890123 &
      (x23456789012345678901234567890123456789012345678901234567890123)
    end
  end interface
end
submodule(m23456789012345678901234567890123456789012345678901234567890123) &
  n23456789012345678901234567890123456789012345678901234567890123
  type,
extends(t23456789012345678901234567890123456789012345678901234567890123) :: &
    u23456789012345678901234567890123456789012345678901234567890123
  end type
end


$ gfortran-11-20200510 -c z1_44.f90
$
$ gfortran-11-20200510 -c z1_45.f90
f951: internal compiler error: Segmentation fault
0xbb93cf crash_signal
        ../../gcc/toplev.c:328
0x64003a gfc_match_function_decl()
        ../../gcc/fortran/decl.c:7355
gfortran: internal compiler error: Segmentation fault signal terminated program
f951


$ gfortran-11-20200510 -c z1_63.f90
f951: internal compiler error: Segmentation fault
0xbb93cf crash_signal
        ../../gcc/toplev.c:328
0x62c64c gfc_hash_value(gfc_symbol*)
        ../../gcc/fortran/class.c:538
gfortran: internal compiler error: Segmentation fault signal terminated program
f951
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2020-06-11 14:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 16:45 [Bug fortran/95091] New: ICE in gfc_hash_value, at fortran/class.c:538 gscfq@t-online.de
2020-06-06 20:48 ` [Bug fortran/95091] " anlauf at gcc dot gnu.org
2020-06-06 21:13 ` anlauf at gcc dot gnu.org
2020-06-07 12:47 ` cvs-commit at gcc dot gnu.org
2020-06-07 14:43 ` cvs-commit at gcc dot gnu.org
2020-06-08 19:01 ` cvs-commit at gcc dot gnu.org
2020-06-11 14:03 ` cvs-commit at gcc dot gnu.org
2020-06-11 14:03 ` cvs-commit at gcc dot gnu.org
2020-06-11 14:20 ` cvs-commit at gcc dot gnu.org
2020-06-11 14:20 ` cvs-commit at gcc dot gnu.org
2020-06-11 14:22 ` 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).