------- Comment #30 from mikpe at it dot uu dot se 2010-04-23 01:24 ------- (In reply to comment #29) > Try > > Index: gcc/tree-tailcall.c > =================================================================== > --- gcc/tree-tailcall.c (revision 158562) > +++ gcc/tree-tailcall.c (working copy) > @@ -469,6 +469,7 @@ find_tail_calls (basic_block bb, struct > FOR_EACH_REFERENCED_VAR (var, rvi) > { > if (!is_global_var (var) > + && TREE_CODE (var) != PARM_DECL > && ref_maybe_used_by_stmt_p (call, var)) > return; > } >
With PR43572 fix reinstated and this patch applied on top, sibcall-1.c doesn't fail any more and there are no other regressions (full bootstrap + regtest all languages except ada). Thanks for the quick fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43572