https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110144
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Hans-Peter Nilsson <h...@gcc.gnu.org>: https://gcc.gnu.org/g:c15905da939fd5cf6ccc3f19f3ab273525f34f98 commit r14-2173-gc15905da939fd5cf6ccc3f19f3ab273525f34f98 Author: Hans-Peter Nilsson <h...@axis.com> Date: Wed Jun 28 03:01:08 2023 +0200 CRIS: Don't apply PATTERN to insn before validation (PR 110144) Oops. The validation was there, but PATTERN was applied before that. Noticeable only with rtl-checking (for example as in the report: "--enable-checking=yes,rtl") as this statement was only a (one of many) straggling olde-C declare-and-initialize-at-beginning-of-block thing. PR target/110144 * config/cris/cris.cc (cris_postdbr_cmpelim): Don't apply PATTERN to insn before validating it.