From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00145386F037; Mon, 29 Jun 2020 17:50:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00145386F037 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593453054; bh=78WbeUSwgsZb1vgmVdeL9DfIvwn0FWSkDQ1sKO7Xrzo=; h=From:To:Subject:Date:From; b=m6idKoiLwuYc9wPutQ7trpsbqsPpf8mc3kUqoJ1JPPTk4xRLSviFAGoO93z4kEnRk qHaKn3vLtyfvNsC+SToL+hoQydH4KDmTVptHcd8DZC2k1ikj8FdO5XKClyiVli9RU4 YxZg3JhB9iayf3olYpYrBCV47rYy5l0YbmiM+V8o= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95978] New: [10/11 Regression] ICE in gfc_match_data, at fortran/decl.c:731 Date: Mon, 29 Jun 2020 17:50:53 +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: Mon, 29 Jun 2020 17:50:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95978 Bug ID: 95978 Summary: [10/11 Regression] ICE in gfc_match_data, at fortran/decl.c:731 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: --- This changed between 20200223 and 20200308 : $ cat z1.f90 program p type t integer :: a type(t), allocatable :: b data c /t(1)/ end type end $ cat z2.f90 program p type t integer :: a class(*), allocatable :: b data c /t(1)/ end type end $ gfortran-10-20200223 -c z1.f90 z1.f90:5:19: 5 | data c /t(1)/ | 1 Error: Unexpected DATA statement at (1) $ gfortran-11-20200628 -c z1.f90 f951: internal compiler error: Segmentation fault 0xbd215f crash_signal ../../gcc/toplev.c:328 0x6419e5 gfc_match_data() ../../gcc/fortran/decl.c:731 0x6aacb1 match_word ../../gcc/fortran/parse.c:65 0x6aed7e decode_statement ../../gcc/fortran/parse.c:469 0x6afaea next_free ../../gcc/fortran/parse.c:1280 0x6afaea next_statement ../../gcc/fortran/parse.c:1512 0x6b1574 parse_derived ../../gcc/fortran/parse.c:3343 0x6b1574 parse_spec ../../gcc/fortran/parse.c:3884 0x6b3f0c parse_progunit ../../gcc/fortran/parse.c:5852 0x6b55e9 gfc_parse_file() ../../gcc/fortran/parse.c:6393 0x7016ff gfc_be_parse_file ../../gcc/fortran/f95-lang.c:212=