[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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",

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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.

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread peter0x44 at disroot dot org via Gcc-bugs
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

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377 --- Comment #1 from Andrew Pinski --- gimple-warn-recursion.cc: "infinite recursion detected"))