This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Tue Jul 25 11:55:44 2017
New Revision: 250511

URL: https://gcc.gnu.org/viewcvs?rev=250511&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-6-branch/gcc/testsuite/gcc.dg/torture/pr75964.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/simplify-rtx.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]