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

--- Comment #18 from Andreas Rheinhardt <andreas.rheinhardt at outlook dot com> 
---
As I have said, the warning was triggered by
https://github.com/FFmpeg/FFmpeg/blob/f6894debc0b7e4bc6545ab6a8b0b5865579e6c4e/libavcodec/svq1enc.c#L133.
And since GCC commit 3fd5a1e76bbf1bc031934a9d96f284a22a5f307f ("ipa-cp: Better
opportunity evaluation and ranking") this happens again (and there are again
eight clones of this function although it is clear that the recursion
terminates earlier).

The code snippet in the opening comment does not trigger the warnings though
and I have not yet created a small testcase. But you can reproduce it by
cloning ffmpeg, configuring with default options and a development snapshot of
GCC and compiling said file (via "make libavcodec/svq1enc.o").

Reply via email to