http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46829
--- Comment #7 from Changpeng Fang <changpeng.fang at amd dot com> 2010-12-07 22:42:26 UTC --- If you compile with dispatch scheduling enabled (together with -march=bdver1), both test cases attached PASS. gcc -O2 -fschedule-insns -fsched-pressure -mdispatch-scheduler -march=bdver1