[Git][ghc/ghc][wip/T27135] Fix check for C11 atomic_load
Peter Trommler pushed to branch wip/T27135 at Glasgow Haskell Compiler / GHC Commits: 739ddbba by Peter Trommler at 2026-04-09T21:49:18+02:00 Fix check for C11 atomic_load - - - - - 1 changed file: - m4/fp_cc_supports__atomics.m4 Changes: ===================================== m4/fp_cc_supports__atomics.m4 ===================================== @@ -6,7 +6,7 @@ AC_DEFUN([FP_CC_SUPPORTS__ATOMICS], AC_REQUIRE([AC_PROG_CC]) AC_MSG_CHECKING([whether C compiler supports C11 atomics]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[#include <stdatomic.h>; + [[#include <stdatomic.h> int x;]], [[atomic_load(&x); return x;]])], [ View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/739ddbba35c6ab381b742e55ea3600e4... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/739ddbba35c6ab381b742e55ea3600e4... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Peter Trommler (@trommler)