https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112313
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Fix written and committed by Andrew as r14-5316-g8da8b922576212 "The problem was a missed case in the vector reduction expand code." See also https://gcc.gnu.org/pipermail/gcc-patches/2023-November/635982.html commit 8da8b9225762126ca41b12243d6531cd41a831b3 Author: Andrew Stubbs <a...@codesourcery.com> Date: Fri Nov 10 09:43:21 2023 +0000 amdgcn: Fix vector min/max ICE The DImode min/max instructions need a clobber that SImode does not, so add the special case to the reduction expand code. gcc/ChangeLog: * config/gcn/gcn.cc (gcn_expand_reduc_scalar): Add clobber to DImode min/max instructions.