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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Robin Dapp <rd...@gcc.gnu.org>:

https://gcc.gnu.org/g:6968656d631c6666081889f30c2247bf255e0831

commit r16-2101-g6968656d631c6666081889f30c2247bf255e0831
Author: Robin Dapp <rd...@ventanamicro.com>
Date:   Tue Jul 8 11:17:41 2025 +0200

    RISC-V: Ignore non-types in builtin function hash.

    If a user passes a string that doesn't represent a variable we still try
    to compute a hash for its type.  Its tree does not represent a type but
    just an exceptional, though.  This patch just ignores it, leaving the
    error to the checking code later.

            PR target/113829

    gcc/ChangeLog:

            * config/riscv/riscv-vector-builtins.cc
(registered_function::overloaded_hash):
            Skip non-type arguments.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/base/pr113829.c: New test.
  • [Bug target/113829] ICE: tree c... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to