summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.6.2/0002-Fix-compilation-with-host-gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc-4.6.2/0002-Fix-compilation-with-host-gcc-4.7.patch')
-rw-r--r--patches/gcc-4.6.2/0002-Fix-compilation-with-host-gcc-4.7.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/patches/gcc-4.6.2/0002-Fix-compilation-with-host-gcc-4.7.patch b/patches/gcc-4.6.2/0002-Fix-compilation-with-host-gcc-4.7.patch
deleted file mode 100644
index 2527f37..0000000
--- a/patches/gcc-4.6.2/0002-Fix-compilation-with-host-gcc-4.7.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Bernhard Walle <bernhard@bwalle.de>
-Date: Mon, 26 Mar 2012 21:30:06 +0200
-Subject: [PATCH] Fix compilation with host gcc 4.7
-
-From upstream SVN
-http://gcc.gnu.org/viewcvs?view=revision&revision=184239
-http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=35e5dc9fa7f94c0cab5897abfd677034b584539c
-
-Fixes PR #51969 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969).
-
-Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
----
- gcc/gengtype.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/gcc/gengtype.c b/gcc/gengtype.c
-index abf17f8..6c0ca4a 100644
---- a/gcc/gengtype.c
-+++ b/gcc/gengtype.c
-@@ -3594,14 +3594,13 @@ write_field_root (outf_p f, pair_p v, type_p type, const char *name,
- int has_length, struct fileloc *line, const char *if_marked,
- bool emit_pch, type_p field_type, const char *field_name)
- {
-+ struct pair newv;
- /* If the field reference is relative to V, rather than to some
- subcomponent of V, we can mark any subarrays with a single stride.
- We're effectively treating the field as a global variable in its
- own right. */
- if (v && type == v->type)
- {
-- struct pair newv;
--
- newv = *v;
- newv.type = field_type;
- newv.name = ACONCAT ((v->name, ".", field_name, NULL));