[Bug tree-optimization/70754] [5/6/7 Regression] ICE during predictive commoning
amker at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 23 16:00:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70754
--- Comment #10 from amker at gcc dot gnu.org ---
Author: amker
Date: Mon Jan 23 15:59:19 2017
New Revision: 244815
URL: https://gcc.gnu.org/viewcvs?rev=244815&root=gcc&view=rev
Log:
PR tree-optimization/70754
* tree-predcom.c (stmt_combining_refs): New parameter INSERT_BEFORE.
(reassociate_to_the_same_stmt): New parameter INSERT_BEFORE. Insert
combined stmt before it if not NULL.
(combine_chains): Process refs reversely and compute dominance point
for root ref.
gcc/testsuite
PR tree-optimization/70754
* gfortran.dg/pr70754.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr70754.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-predcom.c
More information about the Gcc-bugs
mailing list