https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36352
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is a testcase without templates: inline int f(void) { static int t = 1; return t; } int g(void) { return f(); }
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 29 Aug 2021 22:09:34 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36352
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is a testcase without templates: inline int f(void) { static int t = 1; return t; } int g(void) { return f(); }