[Bug target/124959] [16 Regression] gcc.dg/hoist-register-pressure-1.c, also ...-2.c and ...-3.c

hp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 17:09:56 GMT 2026


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

--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Fulfilling my fate of self-contradiction when stating a specific decision, I
have to point out that this *may* be an easy-hack: in
gcse.cc:compute_ld_motion_mems, replace the code assuming sets are non-parallel
patterns:
 if (GET_CODE (PATTERN (insn)) == SET)
by the related idiom seen elsewhere:
 rtx set = single_set (insn); if (set) { rtx src = SET_SRC (set); rtx dest =
SET_DEST (set); ...

Still, not going to do that, myself.


More information about the Gcc-bugs mailing list