https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63691 --- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> --- You don't need a link test, you only need to check whether there is a reference to abort.