https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115751
Roger Sayle <roger at nextmovesoftware dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-07-02
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |roger at
nextmovesoftware dot com
CC| |roger at nextmovesoftware dot
com
Status|UNCONFIRMED |ASSIGNED
--- Comment #3 from Roger Sayle <roger at nextmovesoftware dot com> ---
Doh! Thanks for the analysis Richard. Looks like it isn't safe for
i386-expand to call force_reg on a vec_duplicate, and I should simply call
gen_reg_rtx and emit_move_insn manually [as i386 knows this broadcast is a
valid instruction].
Sorry for the incovenience, I'll bootstrap and regression test a fix [unless
someone beats me to it].
Hopefully, someone can reduce a small testcaase to add to the testsuite, but
the logic that leads to this problem is clear enough for a solution.