diff options
| author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-05 00:03:32 +0000 |
|---|---|---|
| committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-05 00:03:32 +0000 |
| commit | 4ac91eaef40ebd49f126199ce8407b54026a9be4 (patch) | |
| tree | 32159d71d357c15aad5495712d85d6f11758fe67 | |
| parent | f436cfa9659f6514ac494aa64bff42993c8821a8 (diff) | |
| download | ppe42-gcc-4ac91eaef40ebd49f126199ce8407b54026a9be4.tar.gz ppe42-gcc-4ac91eaef40ebd49f126199ce8407b54026a9be4.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128109 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 11 | ||||
| -rw-r--r-- | gcc/tree-ssa-operands.c | 3 | ||||
| -rw-r--r-- | gcc/tree-tailcall.c | 3 |
3 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 251141d14fb..59fbd347196 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index b01dd995235..4996e09e854 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -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. */ diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c index 3e15b1b6ae0..8651b60fc0d 100644 --- a/gcc/tree-tailcall.c +++ b/gcc/tree-tailcall.c @@ -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); |

