https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124147
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <[email protected]>: https://gcc.gnu.org/g:136ef3b4dd3d9ccf9c974e0dde01f7383027499b commit r16-7608-g136ef3b4dd3d9ccf9c974e0dde01f7383027499b Author: Jeff Law <[email protected]> Date: Sat Feb 21 09:32:07 2026 -0700 [PR target/124147] Fix build failure with clang on RISC-V Trivial fix for a build failure using clang. The argument here is a pointer, not a location_t. Pushed to the trunk as obvious. PR target/124147 gcc/ * config/riscv/riscv.cc (riscv_same_function_versions): Use nullptr_t rather than UNKNOWN_LOCATION for pointer argument.
