http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47964
--- Comment #4 from rob.bob.301 at hotmail dot com 2011-03-03 18:26:00 UTC --- (In reply to comment #1) > You need to provide self-contained testcase, this is not self-contained. Thank you for running your simple experiment. Unfortunately, all my attempts to create a simple self-contained test have failed. Of course, during this process, I did play with exactly the same code you did. I have been aware of this problem for several months. I decided to file a bug without a test because the problem appears to be critical and I hope somebody who knows the optimization code might spot the issue. All I can add is that my project is about 110k lines of code, the function in question is in a .cpp file of about 560 lines. But I doubt it helps very much. S.