This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/82726] ICE in verify_ssa during GIMPLE pass: pcom
- 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: Wed, 15 Nov 2017 16:20:53 +0000
- Subject: [Bug tree-optimization/82726] ICE in verify_ssa during GIMPLE pass: pcom
- Auto-submitted: auto-generated
- References: <bug-82726-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82726
--- Comment #5 from amker at gcc dot gnu.org ---
Author: amker
Date: Wed Nov 15 16:20:21 2017
New Revision: 254778
URL: https://gcc.gnu.org/viewcvs?rev=254778&root=gcc&view=rev
Log:
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.
gcc/testsuite
* gcc.dg/tree-ssa/pr82726.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr82726.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-predcom.c