https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115365
--- Comment #5 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- (In reply to Rainer Orth from comment #4) > Unfortunately, the fix broke 32-bit Solaris/SPARC in exchange: > > FAIL: gcc.dg/pr100927.c scan-rtl-dump-times final "(?n)\\\\(fix:SI" 3 > /* { dg-final { scan-rtl-dump-times {(?n)^[ \t]*\(fix:SI} 3 "final" } } */ The new fix is to check there're only space or tab before (fix:SI, and use "^[ \t]*", so does solaris use ^ as line header? I try grep "^[ \t]*(fix:SI" your.dump (fix:SI (fix:SF (reg:SF 40 %f8 [111])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":13:1 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [111])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":22:1 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [111])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":31:1 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [112])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":12:10 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [112])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":21:10 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [112])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":30:10 213 {fix_truncsfsi2} And it works on my x86-pc-linux-gnu machine.