https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66433
--- Comment #1 from Usishchev Yury <y.usishchev at samsung dot com> --- Created attachment 35702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35702&action=edit patch with fix Attached patch that, in my opinion, fixes the issue