https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106807
Jeffrey A. Law changed:
What|Removed |Added
CC||law at gcc dot gnu.org
Sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106807
Patrick O'Neill changed:
What|Removed |Added
CC||patrick at rivosinc dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106807
--- Comment #3 from palmer at gcc dot gnu.org ---
(In reply to Andreas Schwab from comment #1)
> That happens if you use a modified compiler that automatically adds
> -latomic, so that configure in libatomic thinks that the builtins are
> availab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106807
--- Comment #2 from Andreas Schwab ---
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106807
--- Comment #1 from Andreas Schwab ---
That happens if you use a modified compiler that automatically adds -latomic,
so that configure in libatomic thinks that the builtins are available and
expanded inline.