Sidenote: we were unable to reproduce that bug on: 1. Ideone (they claim to use GCC 5.1, but do not specify which flavor it is). 2. tdm-gcc 5.1.0 on Windows. 3. gcc version 6.1.0 (Gentoo 6.1.0 p1.0)
And we were able to reproduce it on (in addition to what's mentioned in the report): 1. g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 2. gcc version 5.4.1 20160904 (Ubuntu 5.4.1-2ubuntu1~14.04) 3. gcc version 6.2.0 20160901 (Ubuntu 6.2.0-3ubuntu11~14.04) That's why it's submitted to Ubuntu's bugtracker first. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662495 Title: GCC 5 optimizer produces incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1662495/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs