From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DA50B3858D35; Tue, 16 Apr 2024 11:10:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA50B3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713265803; bh=qIa2f8tAjPjE9T1W3ZbQsJmwdx6eBJVnigqSpVrlASE=; h=From:To:Subject:Date:From; b=RT5IPnSM+Cb1S4sQ1X8lvp8GZVQHX3rmmZ0qUpGWU8B2pVilS8wgssjLQSzdLv/p6 TnWbP1zwF/ylr/AldxD1DYh27ZvUOQk2z0pLQX1rIYOS0xLN6W4CGfdzSaLF2KBuWP nBLNtHJ16NK/cSnLHXjRjHaJGI7+YfCxT0c2Wb0Y= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/114739] New: [14 Regression] ice in gfc_find_derived_types, at fortran/symbol.cc:2458 Date: Tue, 16 Apr 2024 11:10:03 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114739 Bug ID: 114739 Summary: [14 Regression] ice in gfc_find_derived_types, at fortran/symbol.cc:2458 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- >From the flang testsuite at https://github.com/llvm/llvm-project/tree/main/flang/test file ./Semantics/symbol07.f90, does this with gfortran 13.2: $ ~/gcc/results.13.2.asan.ubsan/bin/gfortran -c -w ./Semantics/symbol07.f90 ./Semantics/symbol07.f90:28:5: 28 | z2%re =3D x | 1 Error: Symbol =E2=80=98z2=E2=80=99 at (1) has no IMPLICIT type ./Semantics/symbol07.f90:31:5: 31 | z2%im =3D y | 1 Error: Symbol =E2=80=98z2=E2=80=99 at (1) has no IMPLICIT type $ and this with yesterday's gfortran: $ ~/gcc/results.20240415.asan.ubsan/bin/gfortran -c -w ./Semantics/symbol07= .f90 f951: internal compiler error: in gfc_find_derived_types, at fortran/symbol.cc:2458 0x6f3ca3 gfc_find_derived_types(gfc_symbol*, gfc_namespace*, char const*, b= ool) ../../trunk.20210101/gcc/fortran/symbol.cc:2458 0x9e1686 gfc_match_varspec(gfc_expr*, int, bool, bool) ../../trunk.20210101/gcc/fortran/primary.cc:2246 0x9e1916 match_variable ../../trunk.20210101/gcc/fortran/primary.cc:4309 0x99a364 gfc_match(char const*, ...) ../../trunk.20210101/gcc/fortran/match.cc:1144=