http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54056
--- Comment #1 from Sergey Prokhorenko <sergey.prokhorenko at gmail dot com> 2012-07-21 10:58:04 UTC --- I also asked few people to test, this could be reproduced on: g++ (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5) g++-mp-4.6 (MacPorts gcc46 4.6.3_3) 4.6.3 g++-mp-4.7 (MacPorts gcc47 4.7.1_1) 4.7.1 CentOS 6.3 / GCC 4.7.1 custom build They also tested on gcc 4.4.6, 4.2.1, 4.5.3 on the same systems, and with these earlier gcc versions the bug does not happen.