This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/72835] [7 Regression] Incorrect arithmetic optimization involving bitfield arguments
- From: "kugan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Sep 2016 03:28:57 +0000
- Subject: [Bug tree-optimization/72835] [7 Regression] Incorrect arithmetic optimization involving bitfield arguments
- Auto-submitted: auto-generated
- References: <bug-72835-4@http.gcc.gnu.org/bugzilla/>
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