[Bug target/100200] [10 Regression] UB evaluating aarch64_plus_immediate predicate

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 27 15:53:14 GMT 2021


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:e89e883a450126d021874536ae102f60a1cacb78

commit r11-8303-ge89e883a450126d021874536ae102f60a1cacb78
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Apr 27 17:50:53 2021 +0200

    aarch64: Fix up last commit [PR100200]

    Pedantically signed vs. unsigned mismatches in va_arg are only well defined
    if the value can be represented in both signed and unsigned integer types.

    2021-04-27  Jakub Jelinek  <jakub@redhat.com>

            PR target/100200
            * config/aarch64/aarch64.c (aarch64_print_operand): Cast -UINTVAL
            back to HOST_WIDE_INT.

    (cherry picked from commit 1c0c371d0ea297af2e3180c64cd18f2bfce919b1)


More information about the Gcc-bugs mailing list