Public bug reported: Binary package hint: gcc-4.2
hi, gcc-core says they don't have this bug with the latest trunk. Maybe this is ubuntu /debian problem, this occurs with gcc -O1 or gcc -O2 or gcc -Os but not with gcc -O0 . bug details is present at in the thread http://www.nabble.com/g%2B%2B-optimization-bug-version-4.2.3-and-version-4.1.3-tt19116063.html Last mail in the thread contains the shortest code. Can someone tell me where the bug is present or lookout in source. Just wanted to learn how you fix this. just compile the attachment and ./a.out gives different values on -O2 and -O0 ** Affects: gcc-4.2 (Ubuntu) Importance: Undecided Status: New -- gcc(g++ ,gcc) optimizing bug bug in 4.2.3-2ubuntu7 and 4.1.3 https://bugs.launchpad.net/bugs/260594 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs