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

--- Comment #17 from GCC 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:df9f6b934886f51c0c07220d1ee38874b69646c7

commit r14-8828-gdf9f6b934886f51c0c07220d1ee38874b69646c7
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Feb 6 15:56:50 2024 +0100

    aarch64: Fix build against libc++ in c++11 mode [PR113763]

    std::pair ctor used in tiles constexpr variable is only constexpr in C++14
    and later, it works with libstdc++ because it is marked constexpr there
even
    in C++11 mode.

    The following patch fixes it by using an unnamed local class instead of
    std::pair, and additionally changes the first element from unsigned int to
    unsigned char because 0xff has to fit into unsigned char on all hosts.

    2024-02-06  Jakub Jelinek  <ja...@redhat.com>

            PR target/113763
            * config/aarch64/aarch64.cc (aarch64_output_sme_zero_za): Change
tiles
            element from std::pair<unsigned int, char> to an unnamed struct.
            Adjust uses of tile range variable.

Reply via email to