public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/96013] New: ICE in write_symbol, at fortran/module.c:5747
@ 2020-06-30 20:12 gscfq@t-online.de
  2020-06-30 20:12 ` [Bug fortran/96013] " gscfq@t-online.de
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: gscfq@t-online.de @ 2020-06-30 20:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96013
           Summary: ICE in write_symbol, at fortran/module.c:5747
           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 :


$ cat z1.f90
module m
   type t
   end type
contains
   function f() result(t)
      character(3) :: c
      c = 'abc'
   end
end


$ gfortran-11-20200628 -c z1.f90
'
Segmentation fault
0xbd215f crash_signal
        ../../gcc/toplev.c:328
0x61891e pp_quoted_string
        ../../gcc/pretty-print.c:1845
0x1504b93 pp_format(pretty_printer*, text_info*)
        ../../gcc/pretty-print.c:1359
0x14f96df diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        ../../gcc/diagnostic.c:1159
0x657489 gfc_report_diagnostic
        ../../gcc/fortran/error.c:782
0x658baa gfc_internal_error(char const*, ...)
        ../../gcc/fortran/error.c:1402
0x698e80 write_symbol
        ../../gcc/fortran/module.c:5747
0x698ecb write_symbol1_recursion
        ../../gcc/fortran/module.c:5974
0x69bb35 write_symbol1
        ../../gcc/fortran/module.c:6007
0x69bb35 write_module
        ../../gcc/fortran/module.c:6154
0x69bb35 dump_module
        ../../gcc/fortran/module.c:6283
0x69becd gfc_dump_module(char const*, int)
        ../../gcc/fortran/module.c:6340
0x6b5d26 gfc_parse_file()
        ../../gcc/fortran/parse.c:6457
0x7016ff gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

end of thread, other threads:[~2021-04-18 17:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 20:12 [Bug fortran/96013] New: ICE in write_symbol, at fortran/module.c:5747 gscfq@t-online.de
2020-06-30 20:12 ` [Bug fortran/96013] " gscfq@t-online.de
2020-06-30 20:47 ` kargl at gcc dot gnu.org
2020-06-30 21:00 ` kargl at gcc dot gnu.org
2020-06-30 21:22 ` kargl at gcc dot gnu.org
2020-06-30 21:38 ` kargl at gcc dot gnu.org
2020-06-30 21:41 ` kargl at gcc dot gnu.org
2021-03-26 12:08 ` dominiq at lps dot ens.fr
2021-03-26 16:04 ` kargl at gcc dot gnu.org
2021-03-26 16:30 ` dominiq at lps dot ens.fr
2021-03-26 17:12 ` kargl at gcc dot gnu.org
2021-03-27 13:56 ` dominiq at lps dot ens.fr
2021-03-27 13:59 ` dominiq at lps dot ens.fr
2021-04-18 11:27 ` dominiq at lps dot ens.fr
2021-04-18 17:34 ` kargl 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).