diff options
author | Michael Matz <matz@suse.de> | 2012-05-29 14:41:53 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2012-05-29 14:41:53 +0000 |
commit | ca5f4331230013bba0a5e4d1c4340158b2991b65 (patch) | |
tree | 5534a3c29342dd48c087ead51be0face86e90762 /gcc/stmt.c | |
parent | 508ef0c675b409e2c92c8078a2dc5043da88db1b (diff) | |
download | gcc-ca5f4331230013bba0a5e4d1c4340158b2991b65.tar.gz |
expr.c (expand_expr_real_1 <normal_inner_ref>): Don't allocate a kept temp.
* expr.c (expand_expr_real_1 <normal_inner_ref>): Don't allocate
a kept temp.
(expand_expr_real_1 <COMPOUND_LITERAL_EXPR>): Make unreachable.
* gimple-fold.c (canonicalize_constructor_val): Canonicalize
COMPOUND_LITERAL_EXPR.
* function.c (expand_function_start): Don't call expand_decl,
instead assert that we have RTL assigned.
* tree-ssa-live.c (remove_unused_locals): Clear
nonlocal_goto_save_area if its backing variable is removed.
* stmt.c (expand_asm_operands): Remove handling of non-lvalues
as mem inputs.
(expand_decl): Assert that this does nothing.
* calls.c (expand_call): Don't call mark_temp_addr_taken.
* c-tree.h (c_expand_decl): Remove prototype.
c-family/
* c-common.h (c_expand_decl): Remove prototype.
ada/
* gcc-interface/utils.c (create_var_decl_1): Don't call expand_decl.
From-SVN: r187962
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c index dd34890d462..a9258b15c7d 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -910,6 +910,8 @@ expand_asm_operands (tree string, tree outputs, tree inputs, at this point. Ignore it: clearly this *is* a memory. */ } else + gcc_unreachable (); +#if 0 { warning (0, "use of memory input without lvalue in " "asm operand %d is deprecated", i + noutputs); @@ -935,6 +937,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs, op = memloc; } } +#endif } generating_concat_p = old_generating_concat_p; @@ -1703,6 +1706,7 @@ expand_decl (tree decl) type in case this node is used in a reference. */ if (TREE_CODE (decl) == CONST_DECL) { + gcc_unreachable (); DECL_MODE (decl) = TYPE_MODE (type); DECL_ALIGN (decl) = TYPE_ALIGN (type); DECL_SIZE (decl) = TYPE_SIZE (type); @@ -1720,6 +1724,7 @@ expand_decl (tree decl) if (TREE_STATIC (decl) || DECL_EXTERNAL (decl)) return; + gcc_unreachable (); /* Create the RTL representation for the variable. */ if (type == error_mark_node) |