This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/70754] [6 Regression] ICE during predictive commoning
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Feb 2018 12:01:29 +0000
- Subject: [Bug tree-optimization/70754] [6 Regression] ICE during predictive commoning
- Auto-submitted: auto-generated
- References: <bug-70754-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70754
--- Comment #21 from amker at gcc dot gnu.org ---
Author: amker
Date: Thu Feb 1 12:00:57 2018
New Revision: 257291
URL: https://gcc.gnu.org/viewcvs?rev=257291&root=gcc&view=rev
Log:
Backport from mainline
2017-11-15 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/82726
PR tree-optimization/70754
* tree-predcom.c (order_drefs_by_pos): New function.
(combine_chains): Move code setting has_max_use_after to...
(try_combine_chains): ...here. New parameter. Sort combined chains
according to position information.
(tree_predictive_commoning_loop): Update call to above function.
(update_pos_for_combined_chains, pcom_stmt_dominates_stmt_p): New.
testsuite
Backport from mainline
2017-11-15 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/82726
* gcc.dg/tree-ssa/pr82726.c: New test.
Backport from mainline
2017-01-23 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/70754
* gfortran.dg/pr70754.f90: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr82726.c
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr70754.f90
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/tree-predcom.c