Skip to content

Commit

Permalink
m68k.c (m68k_delegitimize_address): Also expect LABEL_REF in UNSPEC o…
Browse files Browse the repository at this point in the history
…perand.

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

From-SVN: r166816
  • Loading branch information
Andreas Schwab committed Nov 16, 2010
1 parent df7705b commit 92cf739
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-11-16 Andreas Schwab <[email protected]>

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

2010-11-16 Jan Hubicka <[email protected]>

* cgraph.h (+varpool_can_remove_if_no_refs): Move here from ...;
Expand Down Expand Up @@ -36,7 +41,7 @@
Remove unused variable.
(score_store_multiple_operation): Likewise.
* config/score/score7.c (score7_return_in_memory): Constify arguments.
(score7_in_small_data_p, score7_function_value): Likewise.
(score7_in_small_data_p, score7_function_value): Likewise.
(score7_trampoline_init): Use LCT_NORMAL.
(score7_print_operand): Initialize code as UNKNOWN.
* config/score/score3.h (score3_return_in_memory): Update prototype.
Expand Down Expand Up @@ -530,7 +535,7 @@
(dwarf2out_init): Do not emit debug section switches here, allocate a
vec for macinfo, when required.
(dwarf2out_finish): First switch to debug_abbrev_section here.
debug_line_section, debug_macinfo_section, Likewise.
debug_line_section, debug_macinfo_section, Likewise.
Check that the pubtypes table has at least one unpruned entry before
trying to emit it.

Expand Down Expand Up @@ -800,7 +805,7 @@

2010-11-11 Richard Henderson <[email protected]>

* optabs.c (init_optabs): Init {fma,fms,fnma,fnms}_optab properly.
* optabs.c (init_optabs): Init {fma,fms,fnma,fnms}_optab properly.

2010-11-11 Richard Henderson <[email protected]>

Expand Down Expand Up @@ -1049,7 +1054,7 @@
with lowercase letters and remove trailing '.'. Fix typo in
diagnostic.
* passes.c (position_pass): Start diagnostic with lowercase
letter.
letter.
* plugin.c (add_new_plugin, parse_plugin_arg_opt,
register_callback, try_init_one_plugin): Start diagnostics with
lowercase letters.
Expand Down
2 changes: 1 addition & 1 deletion gcc/config/m68k/m68k.c
Original file line number Diff line number Diff line change
Expand Up @@ -4684,7 +4684,7 @@ m68k_delegitimize_address (rtx orig_x)
&& XINT (unspec, 1) != UNSPEC_RELOC32))
return orig_x;
x = XVECEXP (unspec, 0, 0);
gcc_assert (GET_CODE (x) == SYMBOL_REF);
gcc_assert (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == LABEL_REF);
if (unspec != XEXP (addr.offset, 0))
x = gen_rtx_PLUS (Pmode, x, XEXP (XEXP (addr.offset, 0), 1));
if (addr.index)
Expand Down

0 comments on commit 92cf739

Please sign in to comment.