From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 29C553858C98; Thu, 4 Apr 2024 21:02:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29C553858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712264570; bh=AJKKy9DcyG9KNaFqgF/VOL4+qnq2x6PUkYDu+Gsmy4Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sZk317r9eEd1AvUJnsego7DsCCLoLmHKrb+fuWnTWNiGPc9pDj/Xf0i6keNN44rXr sfcXlvxm0iBmLwd1BssdvvA1365D2V1U1trcbdwlXCUDthhyyXIsStquqJUF+5bsKG NB8i+lG672gIUBFMq63kpHk4kQHomy7kfeSIyNuU= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/89925] [11/12/13/14 Regression] Wrong array bounds from ALLOCATE with SOURCE or MOLD Date: Thu, 04 Apr 2024 21:02:49 +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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D89925 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #14) > (In reply to anlauf from comment #13) > > Original testcase is fixed for allocate with mold as well as for alloca= te > > with source, and some test coverage is in r12-5767. > >=20 > > There are remaining issues for allocatable character arrays, but these > > are tracked elsewhere, e.g. pr113793. > >=20 > > I suggest to close this one with target milestone 12.x >=20 > Seems like a good idea. Do you believe that original > testcase should be converted to a testcase and committed? Only if something reasonable is tested *beyond* those added/modified in r12-5767: gcc/testsuite/gfortran.dg/allocate_with_source_26.f90 gcc/testsuite/gfortran.dg/allocate_with_mold_4.f90 So what is missing here?=