diff options
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index dd79b5a..eb6f967 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -925,7 +925,6 @@ propagate_into_addr (tree stmt, tree var, tree *x, tree repl) || TREE_OPERAND (*x, 0) != var) return; - modify_stmt (stmt); if (TREE_TYPE (*x) == TREE_TYPE (addr_var)) { *x = addr_var; @@ -933,6 +932,7 @@ propagate_into_addr (tree stmt, tree var, tree *x, tree repl) return; } + /* Frontends sometimes produce expressions like *&a instead of a[0]. Create a temporary variable to handle this case. */ ass_stmt = build2 (MODIFY_EXPR, void_type_node, NULL_TREE, repl); |