[FFmpeg-devel] [PATCH v5] gcc: Don't disable '-ftree-vectorize' if gcc version higher than 13.

Martin Storsjö martin at martin.st
Thu Jul 10 15:44:56 EEST 2025


On Thu, 10 Jul 2025, Jiawei wrote:

> In addition, can you provide a bug record or a reproduction method? I think 
> it should also be fixed in the GCC community, and I will report the problems 
> you encounter in test to GCC Bugzilla.

https://patchwork.ffmpeg.org/check/125495/

If you build ffmpeg with this patch, "make fate" fails on the monkeysaudio 
tests, on loongarch. That's about as much as I have so far.

It should indeed be fixed in GCC. You can of course just report this 
above, but with that only that info, it is somewhat unlikely that anybody 
will tend to the bug and fix it. To make it properly actionable, you need 
to isolate the code which gets miscompiled, so GCC developers can compile 
and observe that the resulting code is wrong (which may require some 
loongarch knowledge to see what is wrong) without needing to build and run 
the full ffmpeg fate.

// Martin



More information about the ffmpeg-devel mailing list