public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95501] New: ICE in gfc_match_pointer_assignment, at fortran/match.c:1422
@ 2020-06-03 15:43 gscfq@t-online.de
  2020-06-03 17:02 ` [Bug fortran/95501] " kargl at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2020-06-03 15:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95501
           Summary: ICE in gfc_match_pointer_assignment, at
                    fortran/match.c:1422
           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 20181028 (error) and 20181104 (ICE) :


$ cat z1.f90
program p
   integer, target :: a = 2
   integer, pointer :: z
   z%kind => a%kind
   z%kind => a
end


$ cat z2.f90
program p
   character, target :: a = 'a'
   character, pointer :: z
   z%kind => a
   z%kind => a%kind
   z%len => a
   z%len => a%len
   a%kind => a%len
   a%len => a%kind
end


$ gfortran-11-20200531 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbc37bf crash_signal
        ../../gcc/toplev.c:328
0x686c67 gfc_match_pointer_assignment()
        ../../gcc/fortran/match.c:1422
0x6aa97b match_word
        ../../gcc/fortran/parse.c:65
0x6aa97b decode_statement
        ../../gcc/fortran/parse.c:362
0x6ac41a next_free
        ../../gcc/fortran/parse.c:1279
0x6ac41a next_statement
        ../../gcc/fortran/parse.c:1511
0x6ada6b parse_spec
        ../../gcc/fortran/parse.c:3922
0x6b083c parse_progunit
        ../../gcc/fortran/parse.c:5851
0x6b1f19 gfc_parse_file()
        ../../gcc/fortran/parse.c:6392
0x6fdfff gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:210

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

end of thread, other threads:[~2021-06-18 18:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 15:43 [Bug fortran/95501] New: ICE in gfc_match_pointer_assignment, at fortran/match.c:1422 gscfq@t-online.de
2020-06-03 17:02 ` [Bug fortran/95501] " kargl at gcc dot gnu.org
2020-06-09 11:41 ` marxin at gcc dot gnu.org
2021-06-05 20:40 ` anlauf at gcc dot gnu.org
2021-06-16 19:54 ` cvs-commit at gcc dot gnu.org
2021-06-16 20:05 ` cvs-commit at gcc dot gnu.org
2021-06-18 18:21 ` cvs-commit at gcc dot gnu.org
2021-06-18 18:42 ` cvs-commit at gcc dot gnu.org
2021-06-18 18:45 ` 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).