https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111408
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 56680
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56680&action=edit
gcc14-pr111408.patch
Untested fix. That said, I think at least latently this bug exists all the way
to r0-87899-g88b9490b3361c8e7a901134936cd5013abc85158 - unfortunately the md
file readers don't complain if a binary match_operator doesn't have two
operands in the syntax. I've quickly skimmed all of i386.md match_operator
uses and didn't spot other bugs (extract_operator uses 3 arguments in all
cases, all others after this patch use 2 arguments).