2007-09-04  Jan Hubicka  <jh@suse.cz>
	* tree-tailcall.c (eliminate_tail_call): Expect unrenamed return value.

	2007-09-04  Richard Guenther  <rguenther@suse.de>
	* tree-ssa-operands.c (add_virtual_operand): Only mark
	stores as has_volatile_ops if alias information is not available.

From-SVN: r128109
This commit is contained in:
Jan Hubicka 2007-09-05 02:03:32 +02:00 committed by Jan Hubicka
parent 314b621ed9
commit 104fe9a70c
3 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,14 @@
2007-09-05 Jan Hubicka <jh@suse.cz>
Revert:
2007-09-04 Jan Hubicka <jh@suse.cz>
* tree-tailcall.c (eliminate_tail_call): Expect unrenamed return value.
2007-09-04 Richard Guenther <rguenther@suse.de>
* tree-ssa-operands.c (add_virtual_operand): Only mark
stores as has_volatile_ops if alias information is not available.
2007-09-05 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/tramp.asm: Include config.h.

View file

@ -1494,8 +1494,7 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags,
if (aliases == NULL)
{
if (!gimple_aliases_computed_p (cfun)
&& (flags & opf_def))
if (!gimple_aliases_computed_p (cfun))
s_ann->has_volatile_ops = true;
/* The variable is not aliased or it is an alias tag. */

View file

@ -800,8 +800,7 @@ eliminate_tail_call (struct tailcall *t)
/* Result of the call will no longer be defined. So adjust the
SSA_NAME_DEF_STMT accordingly. */
if (TREE_CODE (rslt) == SSA_NAME)
SSA_NAME_DEF_STMT (rslt) = build_empty_stmt ();
SSA_NAME_DEF_STMT (rslt) = build_empty_stmt ();
}
bsi_remove (&t->call_bsi, true);