From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 182063858031; Sun, 8 Oct 2023 08:45:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 182063858031 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696754702; bh=rrNa9b4Ukrrgj2xRNPBIe2cAioNhLWwhTl0ryhb4nVY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wNhPaMWPK3/eG5bSQWYeIoI8wQWJ/WBl7LntFSqpBNTyiEtkb2mSA8SrPpfpjZ0ht 2hpWp+jCCOU9HHCQlPnIgNEH/nChuLn0keAapHI67/7F4Io//EAecGPNPZ9fi0gjoh +nLsb0w97SP9VIhi2EtJ9G/XNHgrTefiHhR/eZGA= From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67740] Wrong association status of allocatable character pointer in derived types Date: Sun, 08 Oct 2023 08:44:53 +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: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org 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: cc attachments.created 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=3D67740 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org --- Comment #8 from Paul Thomas --- Created attachment 56073 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56073&action=3Dedit "Fix" for this PR Hi Harald, You are touching the right place. However, this should be happening in gfc_conv_expr_descriptor I would have thought so that strlen_lhs comes back with the correct value. Cheers Paul=