1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.

This commit is contained in:
Ulrich Drepper
2001-12-12 18:01:23 +00:00
parent fa231011fc
commit 0a9b637e8a

View File

@ -53,4 +53,4 @@ struct _pthread_descr_struct;
/* Initialize the thread-unique value. */
#define INIT_THREAD_SELF(descr, nr) \
({ __asm__("ldc %0,gbr" : : "r" (descr));})
({ __asm__ __volatile__("ldc %0,gbr" : : "r" (descr));})