Skip to content

Commit 92cf739

Browse files
author
Andreas Schwab
committed
m68k.c (m68k_delegitimize_address): Also expect LABEL_REF in UNSPEC operand.
* gcc/config/m68k/m68k.c (m68k_delegitimize_address): Also expect LABEL_REF in UNSPEC operand. From-SVN: r166816
1 parent df7705b commit 92cf739

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

gcc/ChangeLog

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2010-11-16 Andreas Schwab <[email protected]>
2+
3+
* config/m68k/m68k.c (m68k_delegitimize_address): Also expect
4+
LABEL_REF in UNSPEC operand.
5+
16
2010-11-16 Jan Hubicka <[email protected]>
27

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

@@ -800,7 +805,7 @@
800805

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

803-
* optabs.c (init_optabs): Init {fma,fms,fnma,fnms}_optab properly.
808+
* optabs.c (init_optabs): Init {fma,fms,fnma,fnms}_optab properly.
804809

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

@@ -1049,7 +1054,7 @@
10491054
with lowercase letters and remove trailing '.'. Fix typo in
10501055
diagnostic.
10511056
* passes.c (position_pass): Start diagnostic with lowercase
1052-
letter.
1057+
letter.
10531058
* plugin.c (add_new_plugin, parse_plugin_arg_opt,
10541059
register_callback, try_init_one_plugin): Start diagnostics with
10551060
lowercase letters.

gcc/config/m68k/m68k.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4684,7 +4684,7 @@ m68k_delegitimize_address (rtx orig_x)
46844684
&& XINT (unspec, 1) != UNSPEC_RELOC32))
46854685
return orig_x;
46864686
x = XVECEXP (unspec, 0, 0);
4687-
gcc_assert (GET_CODE (x) == SYMBOL_REF);
4687+
gcc_assert (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == LABEL_REF);
46884688
if (unspec != XEXP (addr.offset, 0))
46894689
x = gen_rtx_PLUS (Pmode, x, XEXP (XEXP (addr.offset, 0), 1));
46904690
if (addr.index)

0 commit comments

Comments
 (0)