public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103591] New: ICE in gfc_compare_string, at fortran/arith.c:1119
@ 2021-12-06 20:26 gscfq@t-online.de
  2021-12-06 21:08 ` [Bug fortran/103591] " anlauf at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2021-12-06 20:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103591
           Summary: ICE in gfc_compare_string, at fortran/arith.c:1119
           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
program p
   integer :: n
   select case (n)
   case ('1':2.)
   end select
end


$ gfortran-12-20211205 -c z1.f90
f951: internal compiler error: Segmentation fault
0xd6497f crash_signal
        ../../gcc/toplev.c:322
0x7640cb gfc_compare_string(gfc_expr*, gfc_expr*)
        ../../gcc/fortran/arith.c:1119
0x809f46 resolve_select
        ../../gcc/fortran/resolve.c:8784
0x8138f7 gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.c:12165
0x8157b7 resolve_codes
        ../../gcc/fortran/resolve.c:17531
0x81587e gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17566
0x7fdba4 resolve_all_program_units
        ../../gcc/fortran/parse.c:6586
0x7fdba4 gfc_parse_file()
        ../../gcc/fortran/parse.c:6842
0x84afaf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

end of thread, other threads:[~2021-12-08 19:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 20:26 [Bug fortran/103591] New: ICE in gfc_compare_string, at fortran/arith.c:1119 gscfq@t-online.de
2021-12-06 21:08 ` [Bug fortran/103591] " anlauf at gcc dot gnu.org
2021-12-06 21:46 ` anlauf at gcc dot gnu.org
2021-12-06 22:20 ` anlauf at gcc dot gnu.org
2021-12-07 17:38 ` cvs-commit at gcc dot gnu.org
2021-12-07 17:40 ` anlauf at gcc dot gnu.org
2021-12-08 19:23 ` cvs-commit 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).