[Bug target/100375] [12 Regression] trunk 20210501 ftbfs for nvptx-none

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 2 12:18:16 GMT 2021


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

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

https://gcc.gnu.org/g:7911a905276781c20f704f5a91b5125e0184d072

commit r12-343-g7911a905276781c20f704f5a91b5125e0184d072
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sun May 2 14:17:23 2021 +0200

    nvptx: Fix up nvptx build against latest libstdc++ [PR100375]

    The r12-220-gd96db15967e78d7cecea3b1cf3169ceb924678ac change
    deprecated some non-standard std::pair constructors and that apparently
    broke nvptx.c build, where pseudo_node_t is std::pair<struct
basic_block_def *, int>
    and so nullptr (or NULL) needs to be used for the first argument of the
    ctors instead of 0.

    2021-05-02  Jakub Jelinek  <jakub@redhat.com>

            PR target/100375
            * config/nvptx/nvptx.c (nvptx_sese_pseudo): Use nullptr instead of
0
            as first argument of pseudo_node_t constructors.


More information about the Gcc-bugs mailing list