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 tree-optimization/72835] [7 Regression] Incorrect arithmetic optimization involving bitfield arguments


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

--- Comment #5 from kugan at gcc dot gnu.org ---
Author: kugan
Date: Wed Sep 21 03:28:24 2016
New Revision: 240299

URL: https://gcc.gnu.org/viewcvs?rev=240299&root=gcc&view=rev
Log:
Incorrect arithmetic optimization involving bitfield arguments

gcc/ChangeLog:

2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>

        PR tree-optimization/72835
        * tree-ssa-reassoc.c (make_new_ssa_for_def): New.
        (make_new_ssa_for_all_defs): Likewise.
        (zero_one_operation): Replace all SSA_NAMEs defined in the chain.


gcc/testsuite/ChangeLog:

2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>

        PR tree-optimization/72835
        * gcc.dg/tree-ssa/pr72835.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr72835.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-reassoc.c

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