annotate src/libgomp-1-fixes.patch @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents c366dab2350c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5761
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 diff -ur gcc-10.2.0.orig/libgomp/libgomp.h gcc-10.2.0/libgomp/libgomp.h
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 --- gcc-10.2.0.orig/libgomp/libgomp.h 2021-05-12 11:35:02.852122961 -0400
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3 +++ gcc-10.2.0/libgomp/libgomp.h 2021-05-12 11:37:05.593912873 -0400
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 @@ -69,6 +69,14 @@
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 # endif
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 #endif
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 +#include <stdio.h>
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 +#include <stdio.h>
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 +#ifdef __MINGW_PRINTF_FORMAT
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 +#define PRINTF_FORMAT __MINGW_PRINTF_FORMAT
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 +#else
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 +#define PRINTF_FORMAT printf
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 +#endif
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 +
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 #ifdef HAVE_ATTRIBUTE_VISIBILITY
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 # pragma GCC visibility push(hidden)
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 #endif
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 @@ -173,7 +181,7 @@
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 extern void gomp_vdebug (int, const char *, va_list);
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 extern void gomp_debug (int, const char *, ...)
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 - __attribute__ ((format (printf, 2, 3)));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 + __attribute__ ((format (PRINTF_FORMAT, 2, 3)));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 #define gomp_vdebug(KIND, FMT, VALIST) \
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
26 do { \
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
27 if (__builtin_expect (gomp_debug_var, 0)) \
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
28 @@ -186,11 +194,11 @@
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
29 } while (0)
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
30 extern void gomp_verror (const char *, va_list);
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
31 extern void gomp_error (const char *, ...)
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32 - __attribute__ ((format (printf, 1, 2)));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33 + __attribute__ ((format (PRINTF_FORMAT, 1, 2)));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
34 extern void gomp_vfatal (const char *, va_list)
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
35 __attribute__ ((noreturn));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
36 extern void gomp_fatal (const char *, ...)
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
37 - __attribute__ ((noreturn, format (printf, 1, 2)));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
38 + __attribute__ ((noreturn, format (PRINTF_FORMAT, 1, 2)));
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
39
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
40 struct gomp_task;
c366dab2350c mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
41 struct gomp_taskgroup;