diff options
author | matz <matz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-26 15:50:33 +0000 |
---|---|---|
committer | matz <matz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-26 15:50:33 +0000 |
commit | b74338cfc4a09d8f37d81bd9df305cd0729e9f91 (patch) | |
tree | 808bb0980b8187c2584ca18d2cc1712638bdbd79 /gcc/gimplify.c | |
parent | 80df9a94b9cf67b4fa68a36d85d5f0cbe2a1c350 (diff) | |
download | gcc-b74338cfc4a09d8f37d81bd9df305cd0729e9f91.tar.gz |
PR tree-optimization/46590
* cfgexpand.c: Revert last change (r183305).
* gimplify.c (gimplify_bind_expr): Add clobbers for all non-gimple
regs.
* tree-eh.c (cleanup_empty_eh): Try to optimize clobbers before
checking for emptiness.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183566 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 99ae5ee4bc5..782adc34caf 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -1231,7 +1231,7 @@ gimplify_bind_expr (tree *expr_p, gimple_seq *pre_p) && !DECL_HAS_VALUE_EXPR_P (t) /* Only care for variables that have to be in memory. Others will be rewritten into SSA names, hence moved to the top-level. */ - && needs_to_live_in_memory (t)) + && !is_gimple_reg (t)) { tree clobber = build_constructor (TREE_TYPE (t), NULL); TREE_THIS_VOLATILE (clobber) = 1; |