[Bug tree-optimization/117193] Missing (a < b) < (b < a) transformation at gimple level

"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=117193

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |126295

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Actually the easier way of implementing this is to add LT/LE/GT/GE support to
combine_comparisons's code. Like there is for IOR/AND (and soon XOR/NE and EQ).

This will also be used for PR 126295.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126295
[Bug 126295] !(i >= j) && (i < j) for fp should optimize to `i < j` even with
trapping
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.