http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55286
--- Comment #11 from wbrana <wbrana at gmail dot com> 2012-11-17 14:52:44 UTC --- It seems I was wrong. Reverting 175752 doesn't fix performance. I used also Gentoo patches with patch which reverts 175752. I thought that it isn't possible, but it seems some of Gentoo patches fixes performance. Any idea which? CPU Sandy Bridge CFLAGS = -fomit-frame-pointer -Wall -O3 -funroll-loops -g0 -march=native -ffast-math -fno-PIE -fno-exceptions -fno-stack-protector -static There is almost no difference in run time between Gentoo patched and vanilla gcc with self-contained testcase.