History

gcc12 plugin: rebase patch

Mark Brand committed 4 years ago

Commit 8d301dc1 parent 0b535ed1 file · +7 −7Browse files

Showing the changes to plugins (1 of 1 file). Show all

Unified · Split

plugins/gcc12/gcc12.patch+7−7
@@ -23,8 +23,8 @@ index 1111111..2222222 100644 · 22 unmodified lines
23-#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))23-#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))
24+#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__)) || defined(__clang__)24+#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__)) || defined(__clang__)
25 #include "cpuid.h"25 #include "cpuid.h"
26 26 #include "common/config/i386/cpuinfo.h"
27 struct cache_desc27 #include "common/config/i386/i386-isas.h"
28 28
29From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 200129From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
30From: Tony Theodore <tonyt@logyst.com>30From: Tony Theodore <tonyt@logyst.com>
@@ -36,7 +36,7 @@ diff --git a/gcc/config.gcc b/gcc/config.gcc · 5 unmodified lines
36index 1111111..2222222 10064436index 1111111..2222222 100644
37--- a/gcc/config.gcc37--- a/gcc/config.gcc
38+++ b/gcc/config.gcc38+++ b/gcc/config.gcc
39@@ -2169,7 +2169,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)39@@ -2202,7 +2202,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
40 tmake_file="${tmake_file} i386/t-mingw-w32"40 tmake_file="${tmake_file} i386/t-mingw-w32"
41 ;;41 ;;
42 esac42 esac
@@ -49,7 +49,7 @@ diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h · 6 unmodified lines
49index 1111111..2222222 10064449index 1111111..2222222 100644
50--- a/gcc/config/i386/mingw32.h50--- a/gcc/config/i386/mingw32.h
51+++ b/gcc/config/i386/mingw32.h51+++ b/gcc/config/i386/mingw32.h
52@@ -186,7 +186,7 @@ along with GCC; see the file COPYING3. If not see52@@ -206,7 +206,7 @@ along with GCC; see the file COPYING3. If not see
53 53
54 /* Override startfile prefix defaults. */54 /* Override startfile prefix defaults. */
55 #ifndef STANDARD_STARTFILE_PREFIX_155 #ifndef STANDARD_STARTFILE_PREFIX_1
@@ -58,7 +58,7 @@ index 1111111..2222222 100644 · 2 unmodified lines
58 #endif58 #endif
59 #ifndef STANDARD_STARTFILE_PREFIX_259 #ifndef STANDARD_STARTFILE_PREFIX_2
60 #define STANDARD_STARTFILE_PREFIX_2 ""60 #define STANDARD_STARTFILE_PREFIX_2 ""
61@@ -195,7 +195,7 @@ along with GCC; see the file COPYING3. If not see61@@ -215,7 +215,7 @@ along with GCC; see the file COPYING3. If not see
62 /* For native mingw-version we need to take care that NATIVE_SYSTEM_HEADER_DIR62 /* For native mingw-version we need to take care that NATIVE_SYSTEM_HEADER_DIR
63 macro contains POSIX-style path. See bug 52947. */63 macro contains POSIX-style path. See bug 52947. */
64 #undef NATIVE_SYSTEM_HEADER_DIR64 #undef NATIVE_SYSTEM_HEADER_DIR
@@ -96,7 +96,7 @@ index 1111111..2222222 100644 · 31 unmodified lines
96 #ifdef HAVE_ATTRIBUTE_VISIBILITY96 #ifdef HAVE_ATTRIBUTE_VISIBILITY
97 # pragma GCC visibility push(hidden)97 # pragma GCC visibility push(hidden)
98 #endif98 #endif
99@@ -173,7 +181,7 @@ team_free (void *ptr)99@@ -177,7 +185,7 @@ team_free (void *ptr)
100 100
101 extern void gomp_vdebug (int, const char *, va_list);101 extern void gomp_vdebug (int, const char *, va_list);
102 extern void gomp_debug (int, const char *, ...)102 extern void gomp_debug (int, const char *, ...)
@@ -105,7 +105,7 @@ index 1111111..2222222 100644 · 2 unmodified lines
105 #define gomp_vdebug(KIND, FMT, VALIST) \105 #define gomp_vdebug(KIND, FMT, VALIST) \
106 do { \106 do { \
107 if (__builtin_expect (gomp_debug_var, 0)) \107 if (__builtin_expect (gomp_debug_var, 0)) \
108@@ -186,11 +194,11 @@ extern void gomp_debug (int, const char108@@ -190,11 +198,11 @@ extern void gomp_debug (int, const char *, ...)
109 } while (0)109 } while (0)
110 extern void gomp_verror (const char *, va_list);110 extern void gomp_verror (const char *, va_list);
111 extern void gomp_error (const char *, ...)111 extern void gomp_error (const char *, ...)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t