[PATCH] Restore bootstrap on i686 (?)
Richard Guenther
rguenther@suse.de
Sat Sep 8 13:59:00 GMT 2007
This restores bootstrap for me on the single i686 box it failed
previously (it worked before on two other i686 boxes for me as well).
Bootstrapped C only sofar, I'm re-starting a full bootstrap & test now.
I'm curious if this fixes your bootstrap problems as well.
Thanks,
Richard.
2007-09-08 Richard Guenther <rguenther@suse.de>
* tree-tailcall.c (find_tail_calls): If we don't have aliases
computed check stmt_ann->references_memory instead of counting
virtual operands.
Index: tree-tailcall.c
===================================================================
--- tree-tailcall.c (revision 128270)
+++ tree-tailcall.c (working copy)
@@ -414,7 +414,8 @@ find_tail_calls (basic_block bb, struct
/* If the statement has virtual or volatile operands, fail. */
ann = stmt_ann (stmt);
if (!ZERO_SSA_OPERANDS (stmt, (SSA_OP_VUSE | SSA_OP_VIRTUAL_DEFS))
- || ann->has_volatile_ops)
+ || ann->has_volatile_ops
+ || (!gimple_aliases_computed_p (cfun) && ann->references_memory))
return;
}
More information about the Gcc-patches
mailing list