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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Robin Dapp <[email protected]>:

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

commit r17-7003-g6e129b4b4b832aea462fffba41a8c138c16d11dc
Author: Milan Tripkovic <[email protected]>
Date:   Wed Aug 19 18:37:44 2026 +0200

    RISC-V: GCC fails to process <riscv_vector.h> when targeting the valid
zve32f_zvl256b ISA combination in C++. [PR126803]

    This patch implementing TARGET_COMP_TYPE_ATTRIBUTES to compare "RVV type"
and
    "RVV sizeless type" and prevent the C++ frontend from treating them as
    identical, fixing the "ambiguating new declaration" error.

    Suggested by: Zhongyao Chen <[email protected]>

            PR target/126803

    gcc/ChangeLog:

            * config/riscv/riscv.cc (riscv_comp_type_attributes): New function.
            TARGET_COMP_TYPE_ATTRIBUTES: Define.

    gcc/testsuite/ChangeLog:

            * g++.target/riscv/pr126803.C: New test.
  • [Bug target/126803] GCC fails t... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to