From e921e4911200931057fca3178a7fb42be3ad696e Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 10 Mar 2005 10:37:54 +0000 Subject: [PATCH 1/1] added missing include [r5341] --- ir/opt/tailrec.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ir/opt/tailrec.c b/ir/opt/tailrec.c index dfa5be7bb..8fbd19c97 100644 --- a/ir/opt/tailrec.c +++ b/ir/opt/tailrec.c @@ -34,6 +34,7 @@ #include "irgraph_t.h" #include "ircons.h" #include "irflag.h" +#include "trouts.h" #include "firmstat.h" /** @@ -241,6 +242,13 @@ static void do_opt_tail_rec(ir_graph *irg, ir_node *rets, int n_tail_calls) exchange(p, phis[proj + 1]); } + /* tail recursion was done, all info is invalid */ + set_irg_dom_inconsistent(irg); + set_irg_outs_inconsistent(irg); + set_irg_loopinfo_state(current_ir_graph, loopinfo_cf_inconsistent); + set_trouts_inconsistent(); + set_irg_callee_info_state(irg, irg_callee_info_inconsistent); + current_ir_graph = rem_irg; set_optimize(rem); } -- 2.20.1