re PR c/50347 (unexpected -Wconversion error from gcc builtin)
[gcc.git] / libatomic / gload.c
index 3c8612597cde60e78fa8f0a88d5298f69042ed5f..4200337104a2802ad6cf6f9f83a5bb545029a6eb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2014 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