diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-17 22:21:24 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-17 22:21:24 +0000 |
commit | 152ab6fab2f94ac87e7de6bc351c02809de18eb3 (patch) | |
tree | 42da3018f900469fdb1aa9419abc4b5c4af439c0 /gcc/tree-nested.c | |
parent | 264ee46dc407e36464dc4b86c3c14961d393623d (diff) | |
download | ppe42-gcc-152ab6fab2f94ac87e7de6bc351c02809de18eb3.tar.gz ppe42-gcc-152ab6fab2f94ac87e7de6bc351c02809de18eb3.zip |
* tree-nested.c (convert_nonlocal_reference_stmt) <GIMPLE_COND>: New
case. Force using values to replace references within the statement.
(convert_local_reference_stmt): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152960 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index 706571c59ec..0b5e7321b16 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -1307,6 +1307,12 @@ convert_nonlocal_reference_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p, *handled_ops_p = false; return NULL_TREE; + case GIMPLE_COND: + wi->val_only = true; + wi->is_lhs = false; + *handled_ops_p = false; + return NULL_TREE; + default: /* For every other statement that we are not interested in handling here, let the walker traverse the operands. */ @@ -1707,6 +1713,12 @@ convert_local_reference_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p, info, gimple_omp_body (stmt)); break; + case GIMPLE_COND: + wi->val_only = true; + wi->is_lhs = false; + *handled_ops_p = false; + return NULL_TREE; + default: /* For every other statement that we are not interested in handling here, let the walker traverse the operands. */ |