diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-16 20:17:31 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-16 20:17:31 +0000 |
commit | f4979459bd30c5ee03a268741629dcd48e9d99c3 (patch) | |
tree | 8a0c29abef23258462f0e3baf56f63ffce24ba24 /gcc/postreload.c | |
parent | 371955337084bb92d230e8c69a7791bb259649de (diff) | |
download | gcc-f4979459bd30c5ee03a268741629dcd48e9d99c3.tar.gz |
PR rtl-optimization/46395
* gcc/postreload.c (reload_combine): Invalidate register use
information on all control flow insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166820 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r-- | gcc/postreload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c index 1fc9bfc50f6..4d3bae4f320 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -1354,8 +1354,8 @@ reload_combine (void) } } - else if (JUMP_P (insn) - && GET_CODE (PATTERN (insn)) != RETURN) + + if (control_flow_insn_p (insn) && GET_CODE (PATTERN (insn)) != RETURN) { /* Non-spill registers might be used at the call destination in some unknown fashion, so we have to mark the unknown use. */ |