re PR target/85666 (gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203...
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 9 Sep 2018 18:05:48 +0000 (18:05 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 9 Sep 2018 18:05:48 +0000 (18:05 +0000)
commita236f9d6402901a67d6e41797e6be5a9ab24e865
tree4a07e45e1969fadbfcf83dd1676f4ee397d97deb
parentb8106e8fd7e7bf20b5f1b5a842931a51fc6dbdfa
re PR target/85666 (gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488)

PR target/85666
* config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS): Don't
call leaf_function_p, instead use has_hard_reg_initial_val.

From-SVN: r264182
gcc/ChangeLog
gcc/config/mmix/mmix.c