summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-05 20:04:36 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-05 20:04:36 +0000
commit9dc6d5bbb8f2d7436e1dafdc0d4e683c1886877c (patch)
treed66aee4fdb3f5db795e8193be9208dcc7e69501e /gcc/stmt.c
parent7f4f4f9c0f9fedcde97aab980f6d0b437868f8a0 (diff)
downloadgcc-9dc6d5bbb8f2d7436e1dafdc0d4e683c1886877c.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126385 138bc75d-0d04-0410-961f-82ee72b054a4
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 11cae96088a..2194a56f8cc 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 ();
}