https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122041
--- Comment #9 from Andreas Schwab <sch...@linux-m68k.org> --- You need to compile both with -flto.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122041
--- Comment #9 from Andreas Schwab <sch...@linux-m68k.org> --- You need to compile both with -flto.