aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-04-08 13:22:32 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-04-08 13:22:32 +0000
commit0f8c63cc10c27905f6d6fa553d3be08a416b2e1f (patch)
tree35952a70f683e580d7b134e3b637e28c5ab22fa8 /gcc/gimple.c
parent5e5a425e73a86f3edbbc1339760e3d8153966389 (diff)
downloadgcc-0f8c63cc10c27905f6d6fa553d3be08a416b2e1f.zip
gcc-0f8c63cc10c27905f6d6fa553d3be08a416b2e1f.tar.gz
gcc-0f8c63cc10c27905f6d6fa553d3be08a416b2e1f.tar.bz2
gimple.c (gimple_set_modified): Do not queue calls to MODIFIED_NORETURN_CALLS here ...
2011-04-08 Richard Guenther <rguenther@suse.de> * gimple.c (gimple_set_modified): Do not queue calls to MODIFIED_NORETURN_CALLS here ... * tree-ssa-operands.c (update_stmt_operands): ... but here. From-SVN: r172182
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 4675d14..3183711 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -2254,15 +2254,7 @@ void
gimple_set_modified (gimple s, bool modifiedp)
{
if (gimple_has_ops (s))
- {
- s->gsbase.modified = (unsigned) modifiedp;
-
- if (modifiedp
- && cfun->gimple_df
- && is_gimple_call (s)
- && gimple_call_noreturn_p (s))
- VEC_safe_push (gimple, gc, MODIFIED_NORETURN_CALLS (cfun), s);
- }
+ s->gsbase.modified = (unsigned) modifiedp;
}