From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 264023858024; Sat, 8 Jul 2023 17:13:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 264023858024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688836418; bh=HOuKK1uxZ8JmT7pVWtpk8r1/kXAazsXyPxNIVqCrl0U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SpJ7ChKLH10k47XT/GGyZ851BFFrjOw/kITyDsINo2SrPZOb7KL19+dIq36a8NbAZ fmnP58xrkhnycL+47e101DasNlMz0EmvB2ZTABqxafwxlzOJuUr1VRBM2G0YmsK/D7 2/TisuZtBy7J5IQszMK+snNHnKONFUdr7XAhQNKQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/99368] ICE in build_function_decl, at fortran/trans-decl.c:2381 Date: Sat, 08 Jul 2023 17:13:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: diagnostic, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D99368 --- Comment #5 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:9a2eab6172a8067e2f63e0fa2bcd5b2190656303 commit r14-2397-g9a2eab6172a8067e2f63e0fa2bcd5b2190656303 Author: Paul Thomas Date: Sat Jul 8 18:13:23 2023 +0100 Fortran: Fix default type bugs in gfortran [PR99139, PR99368] 2023-07-08 Steve Kargl gcc/fortran PR fortran/99139 PR fortran/99368 * match.cc (gfc_match_namelist): Check for host associated or defined types before applying default type. (gfc_match_select_rank): Apply default type to selector of unknown type if possible. * resolve.cc (resolve_fl_variable): Do not apply local default initialization to assumed rank entities. gcc/testsuite/ PR fortran/99139 * gfortran.dg/pr99139.f90 : New test PR fortran/99368 * gfortran.dg/pr99368.f90 : New test=