From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F6693855170; Mon, 28 Nov 2022 09:13:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F6693855170 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669626809; bh=FpI7OZiro4dKqiU2xLm39sZh7dkqxBv6vopWzUL/xuQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kIoz+96408wAj7LpGZ1BYazNnfClrZtlHLskGB/Ur/1Hmee5uYh/c+yeCqIUI3qSN 9BMgKaOm3zWMvnKxOdOSiD5ou96N2LuDGpb5AZnf3GDleHzf1zZiwNIfoG2dwebqH8 Sqop8HRv0ZlXRXXyTQI+9L/0NXqNTOLQikyeQLnM= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/107884] H8/300: cp-demangle.c fix warning related demangle.h Date: Mon, 28 Nov 2022 09:13:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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=3D107884 --- Comment #4 from Jonathan Wakely --- (In reply to Richard Biener from comment #3) > Supposedly C defines literal suffixes for int32_t? Otherwise using (1L << > 17) might work as well here. Yes, it could be: INT32_C(1) << 17 That expands to int_least32_t not int32_t but that's fine for this purpose.=