[Bug tree-optimization/81346] Missed constant propagation into comparison

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 14 12:38:00 GMT 2017


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41707|0                           |1
        is obsolete|                            |

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 41760
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41760&action=edit
gcc8-pr81346-wip.patch

Updated patch that does this, by moving the code from build_range_check into a
helper function that can be used in two spots it is actually small.

The remaining tasks are testsuite coverage and then match.pd optimizations for
the build_range_check stuff where needed.


More information about the Gcc-bugs mailing list