From b31fa4bf7850df09cc489c3e93c1e9241d5734fc Mon Sep 17 00:00:00 2001 From: dberlin Date: Sun, 30 Jan 2005 21:37:52 +0000 Subject: [PATCH] I swear this was in there when i committed, but apparently not git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94449 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76c84a4b067..ab3054559bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,29 @@ +2005-01-30 Daniel Berlin + + Fix PR tree-optimization/19624 + + * Makefile.in (tree-ssa-pre.o): Add CFGLOOP_H. + * tree-ssa-pre.c: Add cfgloop.h. + Update comment. + (pre_stats): New member, constified. + (inserted_exprs): New static variable. + (NECESSARY): New macro. + (create_expression_by_pieces): Fold the expression, and + mark it as defaulting to not necessary. Also put in + inserted_exprs. + (fully_constant_expression): New function. + (insert_into_preds_of_block): Modify to not insert phis when we + are playing with induction variables. + Push phis onto the inserted_exprs vector, and mark them as not + necessary by default. + (insert_aux): Call fully_constant_expression on eprime. + If all edges produce the same value, mark it constant. + (mark_operand_necessary): New function. + (remove_dead_inserted_code): New function. + (init_pre): Init loop optimizer to get loop info. + (fini_pre): Free loop_optimizer, and inserted_exprs vec. + (execute_pre): Commit edge inserts, then remove dead code. + 2005-01-30 Richard Henderson * rtl.c (rtx_equal_p): No early exit for CONST_VECTOR. -- 2.11.4.GIT