https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |middle-end
Last reconfirmed| |2024-07-24
Ever confirmed|0 |1
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
gen_insn (genemit.cc) does not add the implicit parallel until after it looks
at the clobber list. While genrecog.cc adds the implicit parallel
(add_implicit_parallel) before it starts to generate the recorg code.
Looks like this has been a bug for real long time (over 20 years) and this is
the first time it makes a difference.
So the fix should be inside gen_insn (genemit.cc) I think to look through a
parallel if that was the only thing in the list to look for the clobbers.