https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64001
--- Comment #6 from Michael Hudson-Doyle <michael.hudson at canonical dot com> --- Which version were you using? I've never been able to reproduce it with anything newer than the 4.9 series. I'd love to know what the fix was so we can investigate backporting it...