diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-06 15:00:50 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-06 15:00:50 +0000 |
commit | 42d4911b8dc22575a2dcfc02e7c7b0ffe6b83470 (patch) | |
tree | a2eb7c5a1ac7d7676af864386f00a8b4e000cc8b /gcc/tree-ssa-operands.c | |
parent | 73100110dc9d773924ca6217f4f19c89d6373e2d (diff) | |
download | gcc-42d4911b8dc22575a2dcfc02e7c7b0ffe6b83470.tar.gz |
2006-01-06 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/25528
* tree-ssa-alias.c (find_used_portions): Handle REALPART_EXPR
and IMAGPART_EXPR.
* tree-flow-inline.h (var_can_have_subvars): Handle complex types
on non gimple variables. Also add checks at the top for decls and
mtags.
* tree-ssa-structalias.c (push_fields_onto_fieldstack): Handle
complex types.
* tree-ssa-operands.c (parse_ssa_operands): Handle REALPART_EXPR
and IMAGPART_EXPR for creating MUST_DEFs.
(get_expr_operands): Handle SSA_NAME, STRUCT_FIELD_TAG, TYPE_MEMORY_TAG,
and NAME_MEMORY_TAG separately from the DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109419 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index b7319deffb2..60973ced894 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -734,9 +734,7 @@ parse_ssa_operands (tree stmt) if (TREE_CODE (lhs) != ARRAY_REF && TREE_CODE (lhs) != ARRAY_RANGE_REF - && TREE_CODE (lhs) != BIT_FIELD_REF - && TREE_CODE (lhs) != REALPART_EXPR - && TREE_CODE (lhs) != IMAGPART_EXPR) + && TREE_CODE (lhs) != BIT_FIELD_REF) lhs_flags |= opf_kill_def; get_expr_operands (stmt, &TREE_OPERAND (stmt, 0), lhs_flags); @@ -1065,6 +1063,10 @@ get_expr_operands (tree stmt, tree *expr_p, int flags) case STRUCT_FIELD_TAG: case TYPE_MEMORY_TAG: case NAME_MEMORY_TAG: + + add_stmt_operand (expr_p, s_ann, flags); + return; + case VAR_DECL: case PARM_DECL: case RESULT_DECL: |