https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81923
--- Comment #4 from Maxim Ostapenko <m.ostapenko at samsung dot com> --- Created attachment 42071 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42071&action=edit Untested fix The patch I'm testing now. It works on attached testcase.