[Bug target/105624] [13 Regression] ICE in final_scan_insn_1, at final.cc:2861 (error: could not split insn)

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue May 17 10:22:57 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105624

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Ho-hum - this was my patch that removed constraint from const_int predicates.
We are talking about:

(define_insn_and_split "*anddi_1_btr"
  [(set (match_operand:DI 0 "nonimmediate_operand" "=rm")
        (and:DI
         (match_operand:DI 1 "nonimmediate_operand" "%0")
         (match_operand:DI 2 "const_int_operand")))
   (clobber (reg:CC FLAGS_REG))]

Apparently, the assumption that const_int predicates do not need cosntraints
does not hold.


More information about the Gcc-bugs mailing list