]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libatomic/gload.c
[Ada] Add detection of uninitialized big reals
[thirdparty/gcc.git] / libatomic / gload.c
index df318d53f1f7d4b860b1ae2d2b46cef3fc875bd9..0baaf1810f7f42ff940f18e71e23e95cc13ce563 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2020 Free Software Foundation, Inc.
    Contributed by Richard Henderson <rth@redhat.com>.
 
    This file is part of the GNU Atomic Library (libatomic).
@@ -32,7 +32,7 @@
 # define EXACT_INLINE(N, DEST, SRC, DONE)                      \
   if (C2(HAVE_ATOMIC_LDST_,N))                                 \
     {                                                          \
-      DEST = __atomic_load_n (SRC, smodel);                    \
+      DEST = __atomic_load_n (SRC, __ATOMIC_SEQ_CST);          \
       DONE;                                                    \
     }
 #else