https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119830
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Host| |Mingw Target| |Riscv Component|c |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > Question: Why does the Windows toolchain generate inconsistent RTL patterns > compared to Linux for the bclridi instruction template? Most likely because windows abi uses long as 32bit while Linux is 64bit and the backend should have been using HOST_WIDE_INT instead.