https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50201
--- Comment #11 from Jouko Orava <jouko.orava at iki dot fi> --- Created attachment 36931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36931&action=edit Untested patch to fix the bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50201
--- Comment #11 from Jouko Orava <jouko.orava at iki dot fi> --- Created attachment 36931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36931&action=edit Untested patch to fix the bug.