Andreas reported openvino failed to build with LTO enabled with gcc-15
on RISC-V. The included .o file was enough for me to reproduce the
problem and it was trivial to then track it down to a fix I'd already
made to the trunk.
commit b93d8873cda88f0892c7782b274904fa8d3751fb
Author: Jeff Law <j...@ventanamicro.com>
Date: Tue Jun 10 06:38:52 2025 -0600
[RISC-V] Fix ICE due to splitter emitting constant loads directly
This is a fix for a bug found internally in Ventana using the cf3 testsuite.
[ ... ]
Which I've now cherry-picked over to the gcc-15 branch and confirmed it
fixes Andreas's compile time failure.
Jeff