https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83768
--- Comment #2 from Sergey Organov <sorganov at gmail dot com> --- 4.8.3 doesn't have the issue, and I don't have fast access to any 4.9. So presumably it has been fixed between 5.4.0 and 5.4.1... It'd still be nice to know if there is some optimization switch in 5.4.0 to be turned off to overcome the problem. Any idea?