Committed, PR target/85666

2018-09-16 Thread Hans-Peter Nilsson
I've back-ported these two patches to the gcc-8-branch to restore buildability. Tested at r264184, committed r264351. PR target/85666 * config/mmix/mmix.c (mmix_assemble_integer): Handle byte-size non-CONST_INT rtx:es using assemble_integer_with_op ".byte". (MMIX_C

Committed, PR target/85666 2/2, MMIX: Handle emitting data bytes as non-literals

2018-09-09 Thread Hans-Peter Nilsson
Until location views (in gcc-8), there apparently was no need to emit single bytes of data as anything but bare CONST_INTs, neither actual data nor dwarf2 debug. With location views, there's a field within dwarf2 records for inlined subroutines that as assembly code looks as follows in context (cu

Committed, PR target/85666 1/2, MMIX: Don't call leaf_function_p

2018-09-09 Thread Hans-Peter Nilsson
It's IMO never a good idea to call leaf_function_p in port-specific code. Sooner or later, you'll need that information in a context where calling leaf_function_p is either a bad idea (it does a linear walk over all emitted insns in a function) or invalid (called when global context is within a se