public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95584] New: ICE in generic_correspondence, at fortran/interface.c:1260
@ 2020-06-08 18:46 gscfq@t-online.de
  2020-06-08 21:13 ` [Bug fortran/95584] " kargl at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gscfq@t-online.de @ 2020-06-08 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95584
           Summary: ICE in generic_correspondence, at
                    fortran/interface.c:1260
           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: ---

Affects versions down to at least r5, with a doubled interface :


$ cat z1.f90
program p
   interface s
      subroutine g(x, *)
      end
      subroutine h(y, *)
      end
   end interface
end


$ gfortran-11-20200607 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbc593f crash_signal
        ../../gcc/toplev.c:328
0x662887 generic_correspondence
        ../../gcc/fortran/interface.c:1260
0x66379b gfc_compare_interfaces(gfc_symbol*, gfc_symbol*, char const*, int,
int, char*, int, char const*, char const*, bool*)
        ../../gcc/fortran/interface.c:1776
0x663f6c check_interface1
        ../../gcc/fortran/interface.c:1954
0x664163 check_sym_interfaces
        ../../gcc/fortran/interface.c:2012
0x6e9fc2 do_traverse_symtree
        ../../gcc/fortran/symbol.c:4150
0x6641e0 gfc_check_interfaces(gfc_namespace*)
        ../../gcc/fortran/interface.c:2104
0x6cf3ad resolve_types
        ../../gcc/fortran/resolve.c:17191
0x6ca98c gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17290
0x6b2adc resolve_all_program_units
        ../../gcc/fortran/parse.c:6245
0x6b2adc gfc_parse_file()
        ../../gcc/fortran/parse.c:6492
0x6feb3f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

end of thread, other threads:[~2020-07-02  7:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 18:46 [Bug fortran/95584] New: ICE in generic_correspondence, at fortran/interface.c:1260 gscfq@t-online.de
2020-06-08 21:13 ` [Bug fortran/95584] " kargl at gcc dot gnu.org
2020-06-08 21:57 ` dominiq at lps dot ens.fr
2020-07-02  6:48 ` cvs-commit at gcc dot gnu.org
2020-07-02  7:29 ` markeggleston 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).