https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
Jouni Roivas <jroivas at iki dot fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jroivas at iki dot fi --- Comment #3 from Jouni Roivas <jroivas at iki dot fi> --- Created attachment 35668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35668&action=edit proposed patch This patch solves this problem for me. However I'm not sure if it covers all the cases.