As you can see on the upstream bug report, this bug has now been confirmed to be generally affecting gcc-4.6, not just on Ubuntu, so my guess about distribution-specific patches likely was wrong. RedHat was unaffected because of having disabled a particular optimization for debugging reasons.
The bug has been given the status of a P1 regression, meaning that gcc 4.7 won't be released without a fix for it. There is a target milestone of gcc-4.6.3 for the fix in the 4.6 series. ** Visibility changed to: Public ** Bug watch added: GCC Bugzilla #51323 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/897583 Title: Code generation bug with -O2 (-foptimize-sibling-calls) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/897583/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
