https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52084
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2019-02-01 Resolution|FIXED |--- Ever confirmed|0 |1 --- Comment #3 from Andreas Schwab <sch...@linux-m68k.org> --- That fails to build. ../../../../libgo/runtime/thread.c:56:1: error: mismatch in argument 1 type of built-in function '__sync_bool_compare_and_swap_8'; expected 'volatile void *' [-Werror=builtin-declaration-mismatch] 56 | __sync_bool_compare_and_swap_8 (uint64*, uint64, uint64) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../libgo/runtime/thread.c:113:1: error: mismatch in argument 1 type of built-in function '__sync_add_and_fetch_8'; expected 'volatile void *' [-Werror=builtin-declaration-mismatch] 113 | __sync_add_and_fetch_8 (uint64*, uint64) | ^~~~~~~~~~~~~~~~~~~~~~