From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EDFBA3858D35; Wed, 15 Feb 2023 19:34:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDFBA3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676489641; bh=o6lZNNzmWDQfTlV02pW8XUbMI/Xra3Azd6w5JYSXOWE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wlLFqknTZ+p3Ghbu2MGr2lEzpKKLYnorlOMf01lGW6QfOmXLdoIzkvFQUMu0+sXok GJDjVxbFiInUo+CYBI08qvfX7dEeN5Mzmc5JmDGX63wL+1d0mnT1L4j7CqL24D4RNp OQFA918UU5ro3Xz97e89pk8uC44tXCsRddg2vupk= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/104321] Dead code since r12-4467-g64f9623765da33 Date: Wed, 15 Feb 2023 19:34:01 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: 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=3D104321 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #1) > I think it is not only dead code but it should be also removed: >=20 > Glancing at the code, the 'data =3D NULL;' does not make sense (cf. > 'memcpy(lhs, rhs)' above, lhs is data+offset) =E2=80=93 and also does not= match the > comment. > Besides, all testcases seem to be happy with that line being dead code So we can just remove this dead code as obvious and finally close the PR?=