https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077
--- Comment #19 from Harald Anlauf <anlauf at gmx dot de> --- The issues reported in comment #0, #1 and #3 should be fixed on trunk. The fix for comment #0 has been backported to 7- and 8-branches. Can the OP please confirm that the reported issues have been fixed?