https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043
--- Comment #17 from Ville Voutilainen <ville.voutilainen at gmail dot com> --- Initial patch is at https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00112.html, will need to wait until next stage1 to continue on it.