From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C278A3851C38; Wed, 3 Jun 2020 15:43:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C278A3851C38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591198984; bh=hjcMTkWS351YuMDBSXILMSfyzZ7HLAgYCS3gh1eO3fg=; h=From:To:Subject:Date:From; b=QajoSGDZf94OC/ryTMG2LmmiWXJUM0bWznU7hd4HfR1Sx3OAl/luWn7wVvUxtf4uw nTdSvG5U2YCrUFBZ/AY9MbdCzzeB4zsy0LDcQnmZcR3t43f8/c4rtLIQ2phOMbWgco 0PxbS/9JH/jCDRKqHKp7n84FsIchnolJ0jBwIow4= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95501] New: ICE in gfc_match_pointer_assignment, at fortran/match.c:1422 Date: Wed, 03 Jun 2020 15:43:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2020 15:43:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95501 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 =3D 2 integer, pointer :: z z%kind =3D> a%kind z%kind =3D> a end $ cat z2.f90 program p character, target :: a =3D 'a' character, pointer :: z z%kind =3D> a z%kind =3D> a%kind z%len =3D> a z%len =3D> a%len a%kind =3D> a%len a%len =3D> 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=