From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9EB65386F473; Tue, 26 Jan 2021 17:14:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9EB65386F473 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/98839] [11 regression] compilation failure for dwarf2asm.c Date: Tue, 26 Jan 2021 17:14:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 17:14:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98839 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6e44c09b2df7282e0b519f241cf54438ab183b5e commit r11-6915-g6e44c09b2df7282e0b519f241cf54438ab183b5e Author: Jakub Jelinek Date: Tue Jan 26 18:13:07 2021 +0100 dwarf2asm: Fix bootstrap on powerpc*-*-* [PR98839] My recent dwarf2asm.c patch broke powerpc*-*-* bootstrap, while most ta= rget define POINTER_SIZE to (cond ? cst1 : cst2) or constant, rs6000 defines it to a variable, and the arbitrarily chosen type of that variable determines whether we get warnings on comparison of that against signed or unsigned ints. Fixed by adding a cast. 2021-01-26 Jakub Jelinek PR bootstrap/98839 * dwarf2asm.c (dw2_assemble_integer): Cast DWARF2_ADDR_SIZE to = int in comparison.=