https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609
--- Comment #12 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I tried compiling the gcc-13 cross compiler using the broken gcc-12 host
compiler and -mtune-ctrl=^use_bt but that didn't help.
I then tried rebuilding the broken gcc-12 host compiler with the new splitters
disabled, one by one. Disabling the "*bt<mode>_setcqi" one did unbreak the
gcc-13 cross-compiler:
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 48532eb7ddf..0780ba992f3 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -12830,7 +12830,7 @@
(const_int 1)
(zero_extend:SI (match_operand:QI 2 "register_operand"))))
(clobber (reg:CC FLAGS_REG))]
- "TARGET_USE_BT && ix86_pre_reload_split ()"
+ "0 && TARGET_USE_BT && ix86_pre_reload_split ()"
"#"
"&& 1"
[(set (reg:CCC FLAGS_REG)