From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 860803858D35; Sat, 24 Jun 2023 18:23:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 860803858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687631038; bh=h5An/IAyJqw94zYUqXbwDpRPScEvxQKA3nZIDZ2BFhQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tFbwLjliNH+Io8Zp+9vLUa2zB4lRwLW7iNFGvYS4ObDPHCdGkNnibqqntFfJnvi0d OjyXDL1Pj0PJQTjvGVYLBSJPf2KaLP8V2UwjLb34Bh4momToaVmV+hlPNJ7u808Sga 2z7Ek8B1TsFsb5qGyoHWVeNDWdQ6vw0zGYwngi0M= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/110360] ABI issue with character,value dummy argument Date: Sat, 24 Jun 2023 18:23:58 +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: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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=3D110360 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #11) > Created attachment 55393 [details] > Patch to truncate string argument longer than 1 >=20 > This truncates the string to length 1 and appears to work on x86 / -m32 . > Would be interesting to get feedback on big-endian platforms. As this works here, cross-checked with valgrind, and not feedback so far, I'll push this update and watch the testers.=