aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-07-05 20:04:36 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2007-07-05 20:04:36 +0000
commitd8d72314c4667d88f62059c0964ea37756676f29 (patch)
treed66aee4fdb3f5db795e8193be9208dcc7e69501e /gcc/stmt.c
parent2ab16fe0d1c891de826310f2c0a48641a1de65f4 (diff)
downloadgcc-d8d72314c4667d88f62059c0964ea37756676f29.zip
gcc-d8d72314c4667d88f62059c0964ea37756676f29.tar.gz
gcc-d8d72314c4667d88f62059c0964ea37756676f29.tar.bz2
function.c (match_asm_constraints_1, [...]): New.
2007-07-05 Paolo Bonzini <bonzini@gnu.org> * function.c (match_asm_constraints_1, rest_of_match_asm_constraints, pass_match_asm_constraints): New. * passes.c (init_optimization_passes): Add new pass. * stmt.c (expand_asm_operands): Set cfun->has_asm_statement. * function.h (struct function): Add has_asm_statement bit. (current_function_has_asm_statement): New. * tree-pass.h (pass_match_asm_constraints): New. From-SVN: r126385
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 11cae96..2194a56 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1078,6 +1078,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs,
if (real_output_rtx[i])
emit_move_insn (real_output_rtx[i], output_rtx[i]);
+ cfun->has_asm_statement = 1;
free_temp_slots ();
}