https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113558
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Robin Dapp <rdapp at gcc dot gnu.org> --- > Would you mind giving the attached patch a try? I ran it on riscv and power10 > so far, x86 and aarch64 are still in progress. Sure: I tested the patch on sparc-sun-solaris2.11 last night and all but one of the failures are gone. Seems you missed FAIL: gcc.dg/vect/vect-reduc-pattern-2a.c scan-tree-dump-times vect "vect_recog_widen_sum_pattern: detected(?:(?!failed)(?!Re-trying).)*succeeded" 1 Thanks for the quick fix.