https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98839

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:6e44c09b2df7282e0b519f241cf54438ab183b5e

commit r11-6915-g6e44c09b2df7282e0b519f241cf54438ab183b5e
Author: Jakub Jelinek <ja...@redhat.com>
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 target
    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  <ja...@redhat.com>

            PR bootstrap/98839
            * dwarf2asm.c (dw2_assemble_integer): Cast DWARF2_ADDR_SIZE to int
            in comparison.

Reply via email to