Skip to content

Commit

Permalink
re PR rtl-optimization/46395 (FAIL: 22_locale/numpunct/members/pod/2.…
Browse files Browse the repository at this point in the history
…cc execution test)

PR rtl-optimization/46395
* gcc/postreload.c (reload_combine): Invalidate register use
information on all control flow insns.

From-SVN: r166820
  • Loading branch information
andreas-schwab authored and Andreas Schwab committed Nov 16, 2010
1 parent 651a20b commit 18c33e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2010-11-16 Andreas Schwab <[email protected]>

PR rtl-optimization/46395
* postreload.c (reload_combine): Invalidate register use
information on all control flow insns.

* config/m68k/m68k.c (m68k_delegitimize_address): Also expect
LABEL_REF in UNSPEC operand.

Expand Down
4 changes: 2 additions & 2 deletions gcc/postreload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 18c33e0

Please sign in to comment.