diff options
Diffstat (limited to 'gcc/stack-ptr-mod.c')
-rw-r--r-- | gcc/stack-ptr-mod.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/stack-ptr-mod.c b/gcc/stack-ptr-mod.c index a10d59b..5cb95e7 100644 --- a/gcc/stack-ptr-mod.c +++ b/gcc/stack-ptr-mod.c @@ -91,9 +91,7 @@ pass_stack_ptr_mod::execute (function *fun) if (INSN_P (insn)) { /* Check if insn modifies the stack pointer. */ - note_stores (PATTERN (insn), - notice_stack_pointer_modification_1, - NULL); + note_stores (insn, notice_stack_pointer_modification_1, NULL); if (! crtl->sp_is_unchanging) return 0; } |