aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2012-05-29 14:41:53 +0000
committerMichael Matz <matz@suse.de>2012-05-29 14:41:53 +0000
commitfa8e24c2d0ce8b5da092085756d6f7bf8e25ab1c (patch)
tree5534a3c29342dd48c087ead51be0face86e90762 /gcc/stmt.c
parent7bc0d606dac40206ac0242098eb55b5329f79991 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@187962 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c5
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)