From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA0AF3858D35; Wed, 28 Jun 2023 19:48:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA0AF3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687981735; bh=3g4yc02u/5Er85MpGTMN4EpUoD08t/8UHJ6jk/k6jq8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=El9cfSoLypSfEjcsu1DrHAZFugL1pPwNzEY3kb1x+r4LDJv5Q0Fj2DobMr90JXyNE ysRt2jyA7h263UM6SBkU9zdHEEiU4TvfUVq/YgZu1yP+sz10DXIUfOyp4Kj8ifQcMN N/5FunKVOlngrJNPnq/3RJF0py6UO5aSMFgpaogA= From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/110360] ABI issue with character,value dummy argument Date: Wed, 28 Jun 2023 19:48:55 +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: mikael 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 #23 from Mikael Morin --- (In reply to anlauf from comment #22) > Created attachment 55418 [details] > Slighty revised version of 3rd patch >=20 > I've looked at gfc_conv_string_parameter, which I was not aware of. > This can be used for a more readable patch. >=20 Looks good. > It appears one could even use the revised part for constant arguments, to= o. > However, this changes the tree-dump for gfortran.dg/bind_c_usage_13.f03 > slightly in two places, implying the need for an adjustment of the patter= n. > As I am not entirely sure whether the result of that change is correct, > I refrained from using that version. >=20 OK, let's play it safe. > (The partial output from Power BE appears to suggest that constant argume= nt > is still right.) >=20 > Mikael: do you want to test on Power, or shall I proceed? Sorry, still can't login at the moment. Reading the account creation message again, I may need to wait "a few days". So please proceed.=