https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65090
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> --- I can reproduce the wrong-code with g++ 4.7.4 on sparc64-linux, but g++ 4.8.4 and 5 (current trunk) work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65090
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> --- I can reproduce the wrong-code with g++ 4.7.4 on sparc64-linux, but g++ 4.8.4 and 5 (current trunk) work.