https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127470
--- Comment #2 from Ivan Lazaric <ivan.lazaric.gcc at gmail dot com> --- What most surprised me is that it didn't show up in optimized builds when only declaration of function is available. https://godbolt.org/z/rxv819474
