https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106807
--- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> --- For example, if configure says: checking for __atomic_fetch_add for size 1... yes but __atomic_fetch_add isn't expanded inline you will get this recursive call.