From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D762B3858D1E; Wed, 29 Mar 2023 21:47:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D762B3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680126443; bh=uYDXrkFV9iWne6dDMXJsfUCwVpJnriVJfjUJ750xPoU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QurwZfXwghk/0gQpvBWA6hBl1VrtDp5rljXvsNOK2OnASzXj5n7UJJSWXi0oecwgB 0PiSd+kG0x0n7gPwndow73CkRUn8mmIIQMM+D7a/66PDws/zQLTEamFR1K/dRgTDiL PqimDWWGG0L/TpH8CI0Ut33mQwH2hs+8ToPFZFyE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/109322] -fc-prototypes does not correctly translate INTEGER(KIND=C_SIZE_T), and other sizes Date: Wed, 29 Mar 2023 21:47:23 +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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 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=3D109322 --- Comment #8 from Andrew Pinski --- (In reply to Steve Kargl from comment #7) > On Wed, Mar 29, 2023 at 09:28:38PM +0000, pinskia at gcc dot gnu.org wrot= e: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109322 > >=20 > > --- Comment #5 from Andrew Pinski --- > > There is a bug with -m32 and fc-prototypes though, it should be long lo= ng > > rather than long long. Let me provide a patch for that. > >=20 >=20 > This replaces '_' by ' ', but would certainly break if int_t > is in type_name. Right which is why my patch in comment #6 is reasonable. I am going to comm= it it as obvious after my bootstrap/test is finished.=