[Bug ipa/115533] [12/13/14/15 regression] flac miscompiled with -O3 -march=znver2 -fipa-pta -fno-vect-cost-model since r12-3893-g6390c5047adb75

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 4 07:16:57 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533

--- Comment #26 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #24)
> 
> That's because of -fno-vect-cost-model, it wouldn't be vectorized otherwise.

Thanks, I forgot. The testcase in PR 106902 was vectorized at plain -O3 before
gcc-14, though. If the cost model is better about such pitfalls now, I'm happy.


More information about the Gcc-bugs mailing list