https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69463
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Zdenek Sojka from comment #1) > On trunk, this got fixed between r232939 (fails) and r232986 (OK). r232955 > fixed PR69459, so this might be a duplicate. There are actually two bugs in the compiler. One is PR69459, now fixed in 4.9+, the other is PR69551, which needs to be backported to 4.9 branch. Until PR69551 fix is backported to 4.9 branch, you can trigger PR69551 with -O2 -msse -mno-sse2.