Hello, Attached is a new version of the patch. Thanks to Dominique Dhumieres for testing on powerpc-apple-darwin9 and x86_64-apple-darwin10. Tested ppc64-redhat-linux on both with -m32,-m64 and SPU. OK for mainline? Thanks, Revital testsuite/Changelog PR rtl-optimization/47013 * gcc.dg/sms-2.c: Change scan-tree-dump-times and the code itself to preserve the function. * gcc.dg/sms-6.c: Add --param sms-min-sc=1 -fmodulo-sched-allow-regmoves, and -mno-update for PowerPC. * gcc.dg/sms-3.c: Add --param sms-min-sc=1 and -fmodulo-sched-allow-regmoves flags. * gcc.dg/sms-7.c: Add -fmodulo-sched-allow-regmoves and --param sms-min-sc=1 flags and -mno-update for PowerPC. Increase the SMS succeeded loops for the SPU. * gcc.dg/sms-4.c: Add --param sms-min-sc=1 -mno-update for PowerPC. * gcc.dg/sms-8.c: Add --param sms-min-sc=1. Change scan-rtl-dump-times for PowerPC. * gcc.dg/sms-5.c: Add --param sms-min-sc=1 flag and -mno-update for PowerPC.