diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-05 20:04:36 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-05 20:04:36 +0000 |
commit | 9dc6d5bbb8f2d7436e1dafdc0d4e683c1886877c (patch) | |
tree | d66aee4fdb3f5db795e8193be9208dcc7e69501e /gcc/passes.c | |
parent | 7f4f4f9c0f9fedcde97aab980f6d0b437868f8a0 (diff) | |
download | gcc-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/passes.c')
-rw-r--r-- | gcc/passes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index c954847b82d..48ea68e0b8c 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -740,6 +740,7 @@ init_optimization_passes (void) NEXT_PASS (pass_stack_ptr_mod); NEXT_PASS (pass_mode_switching); NEXT_PASS (pass_see); + NEXT_PASS (pass_match_asm_constraints); NEXT_PASS (pass_sms); NEXT_PASS (pass_sched); NEXT_PASS (pass_subregs_of_mode_init); |