public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95879] New: [10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729
@ 2020-06-24 18:49 gscfq@t-online.de
  2020-06-24 18:50 ` [Bug fortran/95879] " gscfq@t-online.de
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2020-06-24 18:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95879
           Summary: [10/11 Regression] ICE in gfc_get_derived_type, at
                    fortran/trans-types.c:2729
           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: ---

Changed between 20190630 and 20190728 :


$ cat z1.f90
module m
contains
   integer function f(x) bind(c)
      use iso_c_binding
   contains
      subroutine s
         c_funloc(f) = x
      end
   end
end


$ cat z2.f90
module m
contains
   integer function f(x)
      use iso_c_binding
   contains
      subroutine s
         c_funloc(f) = x
      end
   end
end


$ gfortran-10-20190630 -c z1.f90
$
$ gfortran-11-20200621 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbce57f crash_signal
        ../../gcc/toplev.c:328
0x6d07a5 gfc_resolve_formal_arglist(gfc_symbol*)
        ../../gcc/fortran/resolve.c:313
0x6ebde2 do_traverse_symtree
        ../../gcc/fortran/symbol.c:4162
0x6d0fc3 resolve_formal_arglists
        ../../gcc/fortran/resolve.c:563
0x6d0fc3 resolve_contained_functions
        ../../gcc/fortran/resolve.c:1129
0x6d0fc3 resolve_types
        ../../gcc/fortran/resolve.c:17164
0x6d11a0 resolve_types
        ../../gcc/fortran/resolve.c:17186
0x6d11a0 resolve_types
        ../../gcc/fortran/resolve.c:17186
0x6cc7ac gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17290
0x6b46f2 gfc_parse_file()
        ../../gcc/fortran/parse.c:6448
0x70098f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

end of thread, other threads:[~2023-07-07 10:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 18:49 [Bug fortran/95879] New: [10/11 Regression] ICE in gfc_get_derived_type, at fortran/trans-types.c:2729 gscfq@t-online.de
2020-06-24 18:50 ` [Bug fortran/95879] " gscfq@t-online.de
2020-06-25  7:10 ` [Bug fortran/95879] [10/11 Regression] ICE in gfc_resolve_formal_arglist, at fortran/resolve.c:313 marxin at gcc dot gnu.org
2020-06-25  7:35 ` rguenth at gcc dot gnu.org
2020-07-23  6:51 ` rguenth at gcc dot gnu.org
2020-10-12 12:51 ` rguenth at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2022-01-05 17:37 ` [Bug fortran/95879] [10/11/12 " sandra at gcc dot gnu.org
2022-01-05 22:36 ` anlauf at gcc dot gnu.org
2022-06-28 10:41 ` [Bug fortran/95879] [10/11/12/13 " jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug fortran/95879] [11/12/13/14 " rguenth 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).