Compare commits

..

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

5 changed files with 784 additions and 235 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/gcc-7.2.0.tar.xz
SOURCES/gcc-14.2.1-20240801.tar.xz

View File

@ -1 +1 @@
08a88199ed94fdf4940d118ba3c07028245cd5b7 SOURCES/gcc-7.2.0.tar.xz
46c9c865217e7ed71d89b7c378c940341bda3586 SOURCES/gcc-14.2.1-20240801.tar.xz

View File

@ -0,0 +1,40 @@
diff -rupN --no-dereference gcc-14.2.1-20240801/libgomp/libgomp.h gcc-14.2.1-20240801-new/libgomp/libgomp.h
--- gcc-14.2.1-20240801/libgomp/libgomp.h 2024-08-01 20:45:20.000000000 +0200
+++ gcc-14.2.1-20240801-new/libgomp/libgomp.h 2024-08-27 09:15:45.276778078 +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
@@ -174,7 +181,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)) \
@@ -187,11 +194,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;

View File

@ -0,0 +1,11 @@
diff -rupN --no-dereference gcc-14.2.1-20240801/libgcc/config/i386/enable-execute-stack-mingw32.c gcc-14.2.1-20240801-new/libgcc/config/i386/enable-execute-stack-mingw32.c
--- gcc-14.2.1-20240801/libgcc/config/i386/enable-execute-stack-mingw32.c 2024-08-01 20:45:20.000000000 +0200
+++ gcc-14.2.1-20240801-new/libgcc/config/i386/enable-execute-stack-mingw32.c 2024-08-27 09:15:51.918345633 +0200
@@ -25,6 +25,7 @@
#define WIN32_LEAN_AND_MEAN
#include <stdlib.h>
#include <windows.h>
+#include <stdlib.h>
extern void __enable_execute_stack (void *);

File diff suppressed because it is too large Load Diff