https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377
--- Comment #4 from Andrew Pinski ---
gimple-ssa-warn-restrict.cc: "%qD source argument is the same
as destination",
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377
--- Comment #3 from Andrew Pinski ---
Most likely because the warning happens after recusive inlining rather than
before inlining.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377
--- Comment #2 from Peter Damianov ---
I know the testcase contains infinite recursion, what I was reporting was the
warning about the strncpy repeating multiple times, with progressively more
"inlined from" notes.
I couldn't find a way to cons
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377
--- Comment #1 from Andrew Pinski ---
gimple-warn-recursion.cc: "infinite recursion detected"))