From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 62373385828D; Mon, 27 Nov 2023 08:59:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62373385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701075563; bh=cwzjKrsyIWwX4VBkdG/eNFtbzMX0dICohDRttDaVvGc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ITNPTPaJTEoip7ByUHZMDP7SlULpR0dNcwbKpnAevKijVkoBfOdDjFd7oaQipyZ96 G1jItCfQ1d03wa6WFHuajZRZJSG4QNYf1phPVSGMQOJ81f8dOptfR9dHeuz7/flv9Q YSD5vBNwcd4GBOoaxoDgHGb1OV/p1uhGc+dCR8tQ= From: "alexandre.poux at coria dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/112700] Segmentation fault with list of characters and types Date: Mon, 27 Nov 2023 08:59:23 +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: 13.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: alexandre.poux at coria dot fr X-Bugzilla-Status: NEW 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: 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=3D112700 --- Comment #2 from Alexandre Poux --- Among the things that avoid the ICE: - Using a subroutine instead of a function - not using a type procedure but a regular function - wrapping the list of char in a custom type - returning a list of a real numbers Among the things that do not avoid the ICE: - replacing the fixed length array with a pointer or an allocatable=