[Bug rtl-optimization/75964] insn combiner removes comparison after ABS

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 25 11:40:00 GMT 2017


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

--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Tue Jul 25 11:39:23 2017
New Revision: 250509

URL: https://gcc.gnu.org/viewcvs?rev=250509&root=gcc&view=rev
Log:
gcc/
        Backport from 2017-05-06 trunk r247719.
        PR rtl-optimization/75964
        * simplify-rtx.c (simplify_const_relational_operation): Remove
        invalid handling of comparisons of integer ABS.
gcc/testsuite/
        Backport from 2017-05-06 trunk r247719.
        PR rtl-optimization/75964
        * gcc.dg/torture/pr75964.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr75964.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/simplify-rtx.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list