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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <[email protected]>:

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

commit r16-694-gdca6f3534d2b6c52cecc770c40b204fb5e4a12b3
Author: Andrew Pinski <[email protected]>
Date:   Fri May 9 21:13:48 2025 -0700

    aarch64: Fix narrowing warning in driver-aarch64.cc [PR118603]

    Since the AARCH64_CORE defines in aarch64-cores.def all use -1 for
    the variant, it is just easier to add the cast to unsigned in the usage
    in driver-aarch64.cc.

    Build and tested on aarch64-linux-gnu.

    gcc/ChangeLog:

            PR target/118603
            * config/aarch64/driver-aarch64.cc (aarch64_cpu_data): Add cast to
unsigned
            to VARIANT of the define AARCH64_CORE.

    Signed-off-by: Andrew Pinski <[email protected]>

Reply via email to