public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/104572] New: ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13646
@ 2022-02-16 17:34 gscfq@t-online.de
  2022-02-16 19:49 ` [Bug fortran/104572] " kargl at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2022-02-16 17:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104572
           Summary: ICE in gfc_resolve_finalizers, at
                    fortran/resolve.cc:13646
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least r5 :


$ cat z1.f90
module m
   type t
   contains
      final :: s
   end type
contains
   subroutine s(*)
   end
end


$ gfortran-12-20220213 -c z1.f90
f951: internal compiler error: Segmentation fault
0xcc8a9f crash_signal
        ../../gcc/toplev.cc:322
0x75abf3 gfc_resolve_finalizers
        ../../gcc/fortran/resolve.cc:13646
0x7726fd resolve_fl_derived
        ../../gcc/fortran/resolve.cc:15112
0x76c1f7 resolve_symbol
        ../../gcc/fortran/resolve.cc:15504
0x78b442 do_traverse_symtree
        ../../gcc/fortran/symbol.cc:4174
0x76f7a4 resolve_types
        ../../gcc/fortran/resolve.cc:17454
0x76ac3c gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.cc:17569
0x752d72 gfc_parse_file()
        ../../gcc/fortran/parse.cc:6792
0x7a066f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.cc:216

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

end of thread, other threads:[~2023-03-22 19:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 17:34 [Bug fortran/104572] New: ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13646 gscfq@t-online.de
2022-02-16 19:49 ` [Bug fortran/104572] " kargl at gcc dot gnu.org
2023-03-21 21:02 ` anlauf at gcc dot gnu.org
2023-03-21 21:10 ` sgk at troutmask dot apl.washington.edu
2023-03-22 18:25 ` cvs-commit at gcc dot gnu.org
2023-03-22 19:11 ` 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).