From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CFA53385841F; Fri, 9 Feb 2024 18:24:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFA53385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707503068; bh=zeoMMs70Y36+3VsKVIv/zg+wsmPl5JVhMPRwkxMCxAM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rf2AYB/enspzmghgdiB1BVMaxIuapwaiADvV+CdIycY9i710Jh2fSwaoHC/m+GtR6 CWHHL2G4NGEsBJDM4t2vYOf7xMSrHHwQuJcfhEOr8AkniM4AzuS48UMa2Gm6EbQsTl Qoz6R8h5s2/P2bPfuNZprIOANC4oBTlR9UcjCx9E= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/113799] gfc_replace_expr: double free detected ? Date: Fri, 09 Feb 2024 18:24:28 +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: 14.0 X-Bugzilla-Keywords: error-recovery X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: anlauf 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=3D113799 --- Comment #9 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b3d622d70ba209b63471fc1b0970870046e55745 commit r14-8902-gb3d622d70ba209b63471fc1b0970870046e55745 Author: Harald Anlauf Date: Thu Feb 8 21:51:38 2024 +0100 Fortran: error recovery on arithmetic overflow on unary operations [PR113799] PR fortran/113799 gcc/fortran/ChangeLog: * arith.cc (reduce_unary): Remember any overflow encountered du= ring reduction of unary arithmetic operations on array constructors = and continue, and return error status, but terminate on serious err= ors. gcc/testsuite/ChangeLog: * gfortran.dg/arithmetic_overflow_2.f90: New test.=