http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54337
--- Comment #2 from nbhargava at google dot com 2012-08-20 23:21:43 UTC --- Created attachment 28062 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28062 Linux-compatible test case The original test case was timed and compiled on a Mac. This one shows a much less extreme version of the problem (only goes from 2.5 seconds to 5 seconds). The original problem was found as part of the gtest framework and was slow on all architectures. I will try to manufacture a version that better showcases the original problem in the meanwhile.