[Bug middle-end/126912] Match vs compare simplifications

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126912

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 65350
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65350&action=edit
Patch which I am testing

I have to look into the internals manual to see if there is anything that needs
to be updated here.  But this seems to work. There is no extra checks that just
says the c_expr here can only be a tcc_comparison in the generated code; this
is something which I am thinking about adding. Because I assume it is in
genmatch when it comes to the type.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.