https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149
--- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> --- I have posted a proposed fix to the mailing list as: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00419.html (please ignore the stuff I mistakenly pasted to the subject line).