import mingw-gcc-11.2.1-3.el9
This commit is contained in:
commit
6f8e1ec926
|
@ -0,0 +1 @@
|
|||
SOURCES/gcc-11.2.1-20210728.tar.xz
|
|
@ -0,0 +1 @@
|
|||
8bb88a8a2cc72b6e4563e0e5e19f53ff09d72ee1 SOURCES/gcc-11.2.1-20210728.tar.xz
|
|
@ -0,0 +1,40 @@
|
|||
diff -rupN --no-dereference gcc-11.2.1-20210728/libgomp/libgomp.h gcc-11.2.1-20210728-new/libgomp/libgomp.h
|
||||
--- gcc-11.2.1-20210728/libgomp/libgomp.h 2021-07-28 11:09:49.000000000 +0200
|
||||
+++ gcc-11.2.1-20210728-new/libgomp/libgomp.h 2021-07-30 11:20:02.737945857 +0200
|
||||
@@ -69,6 +69,13 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
+#include <stdio.h>
|
||||
+#ifdef __MINGW_PRINTF_FORMAT
|
||||
+#define PRINTF_FORMAT __MINGW_PRINTF_FORMAT
|
||||
+#else
|
||||
+#define PRINTF_FORMAT printf
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_ATTRIBUTE_VISIBILITY
|
||||
# pragma GCC visibility push(hidden)
|
||||
#endif
|
||||
@@ -173,7 +180,7 @@ team_free (void *ptr)
|
||||
|
||||
extern void gomp_vdebug (int, const char *, va_list);
|
||||
extern void gomp_debug (int, const char *, ...)
|
||||
- __attribute__ ((format (printf, 2, 3)));
|
||||
+ __attribute__ ((format (PRINTF_FORMAT, 2, 3)));
|
||||
#define gomp_vdebug(KIND, FMT, VALIST) \
|
||||
do { \
|
||||
if (__builtin_expect (gomp_debug_var, 0)) \
|
||||
@@ -186,11 +193,11 @@ extern void gomp_debug (int, const char
|
||||
} while (0)
|
||||
extern void gomp_verror (const char *, va_list);
|
||||
extern void gomp_error (const char *, ...)
|
||||
- __attribute__ ((format (printf, 1, 2)));
|
||||
+ __attribute__ ((format (PRINTF_FORMAT, 1, 2)));
|
||||
extern void gomp_vfatal (const char *, va_list)
|
||||
__attribute__ ((noreturn));
|
||||
extern void gomp_fatal (const char *, ...)
|
||||
- __attribute__ ((noreturn, format (printf, 1, 2)));
|
||||
+ __attribute__ ((noreturn, format (PRINTF_FORMAT, 1, 2)));
|
||||
|
||||
struct gomp_task;
|
||||
struct gomp_taskgroup;
|
|
@ -0,0 +1,42 @@
|
|||
diff -rupN --no-dereference gcc-11.2.1-20210728/config/intdiv0.m4 gcc-11.2.1-20210728-new/config/intdiv0.m4
|
||||
--- gcc-11.2.1-20210728/config/intdiv0.m4 2021-07-28 11:09:49.000000000 +0200
|
||||
+++ gcc-11.2.1-20210728-new/config/intdiv0.m4 2021-07-30 11:19:58.858765997 +0200
|
||||
@@ -31,10 +31,10 @@ sigfpe_handler (sig) int sig;
|
||||
exit (sig != SIGFPE);
|
||||
}
|
||||
|
||||
-int x = 1;
|
||||
-int y = 0;
|
||||
-int z;
|
||||
-int nan;
|
||||
+volatile int x = 1;
|
||||
+volatile int y = 0;
|
||||
+volatile int z;
|
||||
+volatile int nan;
|
||||
|
||||
int main ()
|
||||
{
|
||||
diff -rupN --no-dereference gcc-11.2.1-20210728/libiberty/acinclude.m4 gcc-11.2.1-20210728-new/libiberty/acinclude.m4
|
||||
--- gcc-11.2.1-20210728/libiberty/acinclude.m4 2021-07-28 11:09:49.000000000 +0200
|
||||
+++ gcc-11.2.1-20210728-new/libiberty/acinclude.m4 2021-07-30 11:19:58.859766044 +0200
|
||||
@@ -157,7 +157,7 @@ if test $ac_cv_os_cray = yes; then
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
|
||||
-[AC_TRY_RUN([find_stack_direction ()
|
||||
+[AC_TRY_RUN([__attribute__ ((noclone,noinline)) find_stack_direction ()
|
||||
{
|
||||
static char *addr = 0;
|
||||
auto char dummy;
|
||||
diff -rupN --no-dereference gcc-11.2.1-20210728/libiberty/configure.ac gcc-11.2.1-20210728-new/libiberty/configure.ac
|
||||
--- gcc-11.2.1-20210728/libiberty/configure.ac 2021-07-28 11:09:49.000000000 +0200
|
||||
+++ gcc-11.2.1-20210728-new/libiberty/configure.ac 2021-07-30 11:19:58.859766044 +0200
|
||||
@@ -665,7 +665,7 @@ if test -z "${setobjs}"; then
|
||||
for v in $vars; do
|
||||
AC_MSG_CHECKING([for $v])
|
||||
AC_CACHE_VAL(libiberty_cv_var_$v,
|
||||
- [AC_LINK_IFELSE([AC_LANG_PROGRAM([[int *p;]],[[extern int $v []; p = $v;]])],
|
||||
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[__attribute__ ((used)) int *p;]],[[extern int $v []; p = $v;]])],
|
||||
[eval "libiberty_cv_var_$v=yes"],
|
||||
[eval "libiberty_cv_var_$v=no"])])
|
||||
if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue