BUG #37354 exists on x86 too, still ! Please add: [[ $ARCH == x86 ]] && filter-flags -funroll-all-loops to vim.eclass Reproducible: Always Steps to Reproduce: 1.set CFLAGS="-O3 -funroll-all-loops -s -pipe" 2.emerge vim 3.vim any_file Actual Results: Same error as described in Bug #37354 but not resolved on x86 ! Expected Results: no errors when opening files with vim.
Lemme try this on a few other archs, it may be that we want to filter this universally. Although, really, I'm not a fan of protecting users from their own stupid CFLAGS :)
Looks like -funroll-all-loops breaks sparc and mips as well. I'll change the filter to be global. It's a silly flag to use anyway so it doesn't really matter too much if we strip it off somewhere where it'll still actually work.
I know unroll-all-loops may slow down code, but I thought with multiple execution pipelines and branch prediction it could save some cycles. It's obsolete with gcc 3.4 anyway (peel-loops). Anyway thanks for filtering globaly. Regards, Andy.