https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90826
--- Comment #1 from Yichao Yu <yyc1992 at gmail dot com> --- Oh, forgot to mention that the first assembly was generated with -O3 and adding `.weak f` to the generated file fixes the issue as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90826
--- Comment #1 from Yichao Yu <yyc1992 at gmail dot com> --- Oh, forgot to mention that the first assembly was generated with -O3 and adding `.weak f` to the generated file fixes the issue as well.