projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More explicit checking of which OMP constructs we're expecting
[gcc.git]
/
libgcc
/
gthr-posix.h
diff --git
a/libgcc/gthr-posix.h
b/libgcc/gthr-posix.h
index f0d8cd7247ac5ca6804ff07a46d98ddb1ee204fd..965247602acf11f81c5fa009c7ee48eb55cbacca 100644
(file)
--- a/
libgcc/gthr-posix.h
+++ b/
libgcc/gthr-posix.h
@@
-1,6
+1,6
@@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-20
13
Free Software Foundation, Inc.
+/* Copyright (C) 1997-20
20
Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
@@
-87,7
+87,8
@@
typedef struct timespec __gthread_time_t;
# define __gthrw_pragma(pragma)
# endif
# define __gthrw2(name,name2,type) \
# define __gthrw_pragma(pragma)
# endif
# define __gthrw2(name,name2,type) \
- static __typeof(type) name __attribute__ ((__weakref__(#name2))); \
+ static __typeof(type) name \
+ __attribute__ ((__weakref__(#name2), __copy__ (type))); \
__gthrw_pragma(weak type)
# define __gthrw_(name) __gthrw_ ## name
#else
__gthrw_pragma(weak type)
# define __gthrw_(name) __gthrw_ ## name
#else