https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85516

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-25
     Ever confirmed|0                           |1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I expected fold_truth_andor to eventually catch this via fold_range_test. 
Probably the "bad" association in the testcase prevents this.

Anyway, this is a job for reassoc / if-conversion.

Reply via email to