summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-07-24 13:11:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 12:28:00 +0100
commitfd91e710774d91bc5ff2902b7d9ec665c532dab4 (patch)
tree2a40513f24b430062b06b5de4cd29b598297bec5
parent53caeebc716ae9caf6ca08fd46dc58232571cd38 (diff)
downloadpoky-fd91e710774d91bc5ff2902b7d9ec665c532dab4.tar.gz
gcc5: Upgrade from 5.1 to 5.2
This is second bugfix release in gcc5 series All backported patches are dropped no other patches needed any rework (From OE-Core rev: 2a212e56a814e5dc8a8bae4974b91109ed0486ef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch89
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch63
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch73
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2.inc (renamed from meta/recipes-devtools/gcc/gcc-5.1.inc)17
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0002-uclibc-conf.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0002-uclibc-conf.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0004-uclibc-locale.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0004-uclibc-locale.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0005-uclibc-locale-no__x.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0005-uclibc-locale-no__x.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0006-uclibc-locale-wchar_fix.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0006-uclibc-locale-wchar_fix.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0007-uclibc-locale-update.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0007-uclibc-locale-update.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0008-missing-execinfo_h.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0008-missing-execinfo_h.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0009-c99-snprintf.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0009-c99-snprintf.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0010-gcc-poison-system-directories.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0010-gcc-poison-system-directories.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0011-gcc-poison-dir-extend.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0011-gcc-poison-dir-extend.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0013-64-bit-multilib-hack.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0014-optional-libstdc.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0014-optional-libstdc.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0016-COLLECT_GCC_OPTIONS.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0016-COLLECT_GCC_OPTIONS.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0018-fortran-cross-compile-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0019-libgcc-sjlj-check.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0019-libgcc-sjlj-check.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0020-cpp-honor-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0020-cpp-honor-sysroot.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0021-MIPS64-Default-to-N64-ABI.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0021-MIPS64-Default-to-N64-ABI.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0023-gcc-Fix-argument-list-too-long-error.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0023-gcc-Fix-argument-list-too-long-error.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0024-Disable-sdt.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0024-Disable-sdt.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0025-libtool.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0025-libtool.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0029-export-CPP.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0029-export-CPP.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0032-Ensure-target-gcc-headers-can-be-included.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0032-Ensure-target-gcc-headers-can-be-included.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0037-pr65779.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2/0038-fix-g++-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-5.1/0038-fix-g++-sysroot.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-initial_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-source_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc-source_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc_5.2.bb (renamed from meta/recipes-devtools/gcc/gcc_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_5.2.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc_5.2.bb (renamed from meta/recipes-devtools/gcc/libgcc_5.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgfortran_5.2.bb (renamed from meta/recipes-devtools/gcc/libgfortran_5.1.bb)0
54 files changed, 6 insertions, 236 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch b/meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch
deleted file mode 100644
index 9474287033..0000000000
--- a/meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch
+++ /dev/null
@@ -1,89 +0,0 @@
1From 346ee8b5c2bf3bf0f0e681b2df5755f299aa1a68 Mon Sep 17 00:00:00 2001
2From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Thu, 30 Apr 2015 16:31:36 +0000
4Subject: [PATCH] /cp 2015-04-30 Paolo Carlini <paolo.carlini@oracle.com>
5
6 PR c++/65801
7 * typeck2.c (check_narrowing): In C++11 mode too, -Wno-narrowing
8 suppresses the diagnostic.
9
102015-04-30 Paolo Carlini <paolo.carlini@oracle.com>
11
12 PR c++/65801
13 * doc/invoke.texi ([-Wnarrowing]): Update.
14
15/testsuite
162015-04-30 Paolo Carlini <paolo.carlini@oracle.com>
17
18 PR c++/65801
19 * g++.dg/cpp0x/Wnarrowing2.C: New.
20
21
22git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@222636 138bc75d-0d04-0410-961f-82ee72b054a4
23---
24Upstream-Status: Backport
25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26
27 gcc/ChangeLog | 5 +++++
28 gcc/cp/ChangeLog | 6 ++++++
29 gcc/cp/typeck2.c | 10 +++++++---
30 gcc/doc/invoke.texi | 8 ++++----
31 gcc/testsuite/ChangeLog | 5 +++++
32 gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C | 5 +++++
33 6 files changed, 32 insertions(+), 7 deletions(-)
34 create mode 100644 gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C
35
36diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
37index 80a6939..884957b 100644
38--- a/gcc/cp/typeck2.c
39+++ b/gcc/cp/typeck2.c
40@@ -957,9 +957,13 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain)
41 }
42 }
43 else if (complain & tf_error)
44- error_at (EXPR_LOC_OR_LOC (init, input_location),
45- "narrowing conversion of %qE from %qT to %qT inside { }",
46- init, ftype, type);
47+ {
48+ global_dc->pedantic_errors = 1;
49+ pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
50+ "narrowing conversion of %qE from %qT to %qT inside { }",
51+ init, ftype, type);
52+ global_dc->pedantic_errors = flag_pedantic_errors;
53+ }
54 }
55
56 return cxx_dialect == cxx98 || ok;
57diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
58index 520c2c5..4ef8f7f 100644
59--- a/gcc/doc/invoke.texi
60+++ b/gcc/doc/invoke.texi
61@@ -2703,10 +2703,10 @@ int i = @{ 2.2 @}; // error: narrowing from double to int
62
63 This flag is included in @option{-Wall} and @option{-Wc++11-compat}.
64
65-With @option{-std=c++11}, @option{-Wno-narrowing} suppresses for
66-non-constants the diagnostic required by the standard. Note that this
67-does not affect the meaning of well-formed code; narrowing conversions
68-are still considered ill-formed in SFINAE context.
69+With @option{-std=c++11}, @option{-Wno-narrowing} suppresses the diagnostic
70+required by the standard. Note that this does not affect the meaning
71+of well-formed code; narrowing conversions are still considered
72+ill-formed in SFINAE context.
73
74 @item -Wnoexcept @r{(C++ and Objective-C++ only)}
75 @opindex Wnoexcept
76diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C
77new file mode 100644
78index 0000000..fc806f9
79--- /dev/null
80+++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C
81@@ -0,0 +1,5 @@
82+// PR c++/65801
83+// { dg-do compile { target c++11 } }
84+// { dg-options "-Wno-narrowing" }
85+
86+static struct zai { unsigned int x; } x = {-1};
87--
882.1.4
89
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch b/meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch
deleted file mode 100644
index e7a4fd792c..0000000000
--- a/meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 82e461dc9d53927de7dae667880b63c2d497172d Mon Sep 17 00:00:00 2001
2From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Fri, 1 May 2015 18:47:55 +0000
4Subject: [PATCH] /cp 2015-05-01 Paolo Carlini <paolo.carlini@oracle.com>
5 Prathamesh Kulharni <prathamesh.kulkarni@linaro.org>
6
7 PR c++/65858
8 * typeck2.c (check_narrowing): Set ok = true when pedwarn returns
9 false.
10
11/testsuite
122015-05-01 Paolo Carlini <paolo.carlini@oracle.com>
13 Prathamesh Kulharni <prathamesh.kulkarni@linaro.org>
14
15 PR c++/65858
16 * g++.dg/cpp0x/Wnarrowing3.C: New.
17
18
19git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@222700 138bc75d-0d04-0410-961f-82ee72b054a4
20---
21Upstream-Status: Backport
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23
24 gcc/cp/ChangeLog | 7 +++++++
25 gcc/cp/typeck2.c | 7 ++++---
26 gcc/testsuite/ChangeLog | 6 ++++++
27 gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C | 6 ++++++
28 4 files changed, 23 insertions(+), 3 deletions(-)
29 create mode 100644 gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C
30
31diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
32index 884957b..9a491aa 100644
33--- a/gcc/cp/typeck2.c
34+++ b/gcc/cp/typeck2.c
35@@ -959,9 +959,10 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain)
36 else if (complain & tf_error)
37 {
38 global_dc->pedantic_errors = 1;
39- pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
40- "narrowing conversion of %qE from %qT to %qT inside { }",
41- init, ftype, type);
42+ if (!pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
43+ "narrowing conversion of %qE from %qT to %qT "
44+ "inside { }", init, ftype, type))
45+ ok = true;
46 global_dc->pedantic_errors = flag_pedantic_errors;
47 }
48 }
49diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C
50new file mode 100644
51index 0000000..d2dd383
52--- /dev/null
53+++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C
54@@ -0,0 +1,6 @@
55+// PR c++/65858
56+// { dg-do compile { target c++11 } }
57+// { dg-require-effective-target lto }
58+// { dg-options "-flto -Wno-narrowing" }
59+
60+int x { 0.5 };
61--
622.1.4
63
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch b/meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch
deleted file mode 100644
index 7c1a19cd7f..0000000000
--- a/meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch
+++ /dev/null
@@ -1,73 +0,0 @@
1From 3b1253116b7cb98da33c997bffa5fa2616aee40a Mon Sep 17 00:00:00 2001
2From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Mon, 4 May 2015 20:59:03 +0000
4Subject: [PATCH] /cp 2015-05-04 Paolo Carlini <paolo.carlini@oracle.com>
5 Jakub Jelinek <jakub@redhat.com>
6
7 PR c++/66007
8 * typeck2.c (check_narrowing): Check by-hand that the pedwarn didn't
9 result in an actual error.
10
11/testsuite
122015-05-04 Paolo Carlini <paolo.carlini@oracle.com>
13 Jakub Jelinek <jakub@redhat.com>
14
15 PR c++/66007
16 * g++.dg/cpp0x/Wnarrowing4.C: New.
17
18
19git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@222779 138bc75d-0d04-0410-961f-82ee72b054a4
20---
21Upstream-Status: Backport
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23
24 gcc/cp/ChangeLog | 7 +++++++
25 gcc/cp/typeck2.c | 8 +++++---
26 gcc/testsuite/ChangeLog | 6 ++++++
27 gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C | 14 ++++++++++++++
28 4 files changed, 32 insertions(+), 3 deletions(-)
29 create mode 100644 gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C
30
31diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
32index 9a491aa..c0df823 100644
33--- a/gcc/cp/typeck2.c
34+++ b/gcc/cp/typeck2.c
35@@ -958,10 +958,12 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain)
36 }
37 else if (complain & tf_error)
38 {
39+ int savederrorcount = errorcount;
40 global_dc->pedantic_errors = 1;
41- if (!pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
42- "narrowing conversion of %qE from %qT to %qT "
43- "inside { }", init, ftype, type))
44+ pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
45+ "narrowing conversion of %qE from %qT to %qT "
46+ "inside { }", init, ftype, type);
47+ if (errorcount == savederrorcount)
48 ok = true;
49 global_dc->pedantic_errors = flag_pedantic_errors;
50 }
51diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C
52new file mode 100644
53index 0000000..7defce3
54--- /dev/null
55+++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C
56@@ -0,0 +1,14 @@
57+// PR c++/66007
58+// { dg-do run { target c++11 } }
59+// { dg-options "-Wno-error=narrowing" }
60+
61+extern "C" void abort();
62+
63+int main()
64+{
65+ unsigned foo[] = { 1, -1, 3 };
66+ if (foo[0] != 1 || foo[1] != __INT_MAX__ * 2U + 1 || foo[2] != 3)
67+ abort();
68+}
69+
70+// { dg-prune-output "narrowing conversion" }
71--
722.1.4
73
diff --git a/meta/recipes-devtools/gcc/gcc-5.1.inc b/meta/recipes-devtools/gcc/gcc-5.2.inc
index 811bd47108..34606b909c 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1.inc
+++ b/meta/recipes-devtools/gcc/gcc-5.2.inc
@@ -2,15 +2,15 @@ require gcc-common.inc
2 2
3# Third digit in PV should be incremented after a minor release 3# Third digit in PV should be incremented after a minor release
4 4
5PV = "5.1.0" 5PV = "5.2.0"
6 6
7#SNAP = "5-20150405" 7#SNAP = "5-20150405"
8 8
9# BINV should be incremented to a revision after a minor gcc release 9# BINV should be incremented to a revision after a minor gcc release
10 10
11BINV = "5.1.0" 11BINV = "5.2.0"
12 12
13FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.1:${FILE_DIRNAME}/gcc-5.1/backport:" 13FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.2:${FILE_DIRNAME}/gcc-5.2/backport:"
14 14
15DEPENDS =+ "mpfr gmp libmpc zlib" 15DEPENDS =+ "mpfr gmp libmpc zlib"
16NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" 16NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
@@ -26,9 +26,8 @@ LIC_FILES_CHKSUM = "\
26" 26"
27#BASEURI = "http://www.netgull.com/gcc/snapshots/${SNAP}/gcc-${SNAP}.tar.bz2" 27#BASEURI = "http://www.netgull.com/gcc/snapshots/${SNAP}/gcc-${SNAP}.tar.bz2"
28BASEURI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" 28BASEURI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2"
29 29SRC_URI[md5sum] = "a51bcfeb3da7dd4c623e27207ed43467"
30SRC_URI[md5sum] = "d5525b1127d07d215960e6051c5da35e" 30SRC_URI[sha256sum] = "5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad"
31SRC_URI[sha256sum] = "b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad"
32 31
33SRC_URI = "\ 32SRC_URI = "\
34 ${BASEURI} \ 33 ${BASEURI} \
@@ -73,11 +72,7 @@ SRC_URI = "\
73 file://0038-fix-g++-sysroot.patch \ 72 file://0038-fix-g++-sysroot.patch \
74 " 73 "
75 74
76BACKPORTS = "\ 75BACKPORTS = ""
77 file://0001-PR65801.patch \
78 file://0002-PR65858.patch \
79 file://0003-PR66007.patch \
80 "
81#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${SNAP}" 76#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${SNAP}"
82S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" 77S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
83B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" 78B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-5.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
index 2c766f425d..2c766f425d 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0002-uclibc-conf.patch b/meta/recipes-devtools/gcc/gcc-5.2/0002-uclibc-conf.patch
index 69d33a0d6e..69d33a0d6e 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0002-uclibc-conf.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0002-uclibc-conf.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch b/meta/recipes-devtools/gcc/gcc-5.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch
index bca254d5a2..bca254d5a2 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0004-uclibc-locale.patch b/meta/recipes-devtools/gcc/gcc-5.2/0004-uclibc-locale.patch
index 03947a7989..03947a7989 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0004-uclibc-locale.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0004-uclibc-locale.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0005-uclibc-locale-no__x.patch b/meta/recipes-devtools/gcc/gcc-5.2/0005-uclibc-locale-no__x.patch
index ac053eabd6..ac053eabd6 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0005-uclibc-locale-no__x.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0005-uclibc-locale-no__x.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0006-uclibc-locale-wchar_fix.patch b/meta/recipes-devtools/gcc/gcc-5.2/0006-uclibc-locale-wchar_fix.patch
index 9112a2b1ab..9112a2b1ab 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0006-uclibc-locale-wchar_fix.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0006-uclibc-locale-wchar_fix.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0007-uclibc-locale-update.patch b/meta/recipes-devtools/gcc/gcc-5.2/0007-uclibc-locale-update.patch
index 728b790820..728b790820 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0007-uclibc-locale-update.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0007-uclibc-locale-update.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0008-missing-execinfo_h.patch b/meta/recipes-devtools/gcc/gcc-5.2/0008-missing-execinfo_h.patch
index b2f6b18533..b2f6b18533 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0008-missing-execinfo_h.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0008-missing-execinfo_h.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0009-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-5.2/0009-c99-snprintf.patch
index 525b2a1c4e..525b2a1c4e 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0009-c99-snprintf.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0009-c99-snprintf.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0010-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-5.2/0010-gcc-poison-system-directories.patch
index 4e02ef83c1..4e02ef83c1 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0010-gcc-poison-system-directories.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0010-gcc-poison-system-directories.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0011-gcc-poison-dir-extend.patch b/meta/recipes-devtools/gcc/gcc-5.2/0011-gcc-poison-dir-extend.patch
index 067d9852de..067d9852de 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0011-gcc-poison-dir-extend.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0011-gcc-poison-dir-extend.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-5.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
index befca73ace..befca73ace 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0013-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch
index 67c066123d..67c066123d 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0013-64-bit-multilib-hack.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0014-optional-libstdc.patch b/meta/recipes-devtools/gcc/gcc-5.2/0014-optional-libstdc.patch
index 374fe43881..374fe43881 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0014-optional-libstdc.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0014-optional-libstdc.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch b/meta/recipes-devtools/gcc/gcc-5.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
index 6cf1e3dd24..6cf1e3dd24 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0016-COLLECT_GCC_OPTIONS.patch b/meta/recipes-devtools/gcc/gcc-5.2/0016-COLLECT_GCC_OPTIONS.patch
index 359de35ad6..359de35ad6 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0016-COLLECT_GCC_OPTIONS.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0016-COLLECT_GCC_OPTIONS.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc-5.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
index 850613176c..850613176c 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-5.2/0018-fortran-cross-compile-hack.patch
index da73392cae..da73392cae 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0018-fortran-cross-compile-hack.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0019-libgcc-sjlj-check.patch b/meta/recipes-devtools/gcc/gcc-5.2/0019-libgcc-sjlj-check.patch
index ec5394a416..ec5394a416 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0019-libgcc-sjlj-check.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0019-libgcc-sjlj-check.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0020-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc-5.2/0020-cpp-honor-sysroot.patch
index 71bc68b5c1..71bc68b5c1 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0020-cpp-honor-sysroot.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0020-cpp-honor-sysroot.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0021-MIPS64-Default-to-N64-ABI.patch b/meta/recipes-devtools/gcc/gcc-5.2/0021-MIPS64-Default-to-N64-ABI.patch
index caad4899f5..caad4899f5 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0021-MIPS64-Default-to-N64-ABI.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0021-MIPS64-Default-to-N64-ABI.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc-5.2/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
index 54520d0912..54520d0912 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0023-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc-5.2/0023-gcc-Fix-argument-list-too-long-error.patch
index b337df5b0f..b337df5b0f 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0023-gcc-Fix-argument-list-too-long-error.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0023-gcc-Fix-argument-list-too-long-error.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0024-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc-5.2/0024-Disable-sdt.patch
index 9f219ca6dc..9f219ca6dc 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0024-Disable-sdt.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0024-Disable-sdt.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0025-libtool.patch b/meta/recipes-devtools/gcc/gcc-5.2/0025-libtool.patch
index b8977d64f2..b8977d64f2 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0025-libtool.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0025-libtool.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc-5.2/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
index a8a652aaf1..a8a652aaf1 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc-5.2/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch
index 445da37d7d..445da37d7d 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc-5.2/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
index 4902e903b8..4902e903b8 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0029-export-CPP.patch b/meta/recipes-devtools/gcc/gcc-5.2/0029-export-CPP.patch
index 0a05ae59ed..0a05ae59ed 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0029-export-CPP.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0029-export-CPP.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-5.2/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
index 873dca9716..873dca9716 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch b/meta/recipes-devtools/gcc/gcc-5.2/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
index f06cba8824..f06cba8824 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0032-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-5.2/0032-Ensure-target-gcc-headers-can-be-included.patch
index 45133062a7..45133062a7 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0032-Ensure-target-gcc-headers-can-be-included.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0032-Ensure-target-gcc-headers-can-be-included.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch b/meta/recipes-devtools/gcc/gcc-5.2/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
index 519e413d6b..519e413d6b 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc-5.2/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch
index 207cd7cba1..207cd7cba1 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch b/meta/recipes-devtools/gcc/gcc-5.2/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch
index b75f385f40..b75f385f40 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-5.2/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
index b691946b0e..b691946b0e 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0037-pr65779.patch b/meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch
index 1424673df8..1424673df8 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0037-pr65779.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0038-fix-g++-sysroot.patch b/meta/recipes-devtools/gcc/gcc-5.2/0038-fix-g++-sysroot.patch
index f024dd5a2e..f024dd5a2e 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1/0038-fix-g++-sysroot.patch
+++ b/meta/recipes-devtools/gcc/gcc-5.2/0038-fix-g++-sysroot.patch
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_5.1.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_5.2.bb
index bf53c5cd78..bf53c5cd78 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_5.1.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_5.2.bb
index 4c73e5ce61..4c73e5ce61 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-cross_5.1.bb b/meta/recipes-devtools/gcc/gcc-cross_5.2.bb
index b43cca0c52..b43cca0c52 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.2.bb
index fd90e1140f..fd90e1140f 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_5.2.bb
index 40a6c4feff..40a6c4feff 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_5.2.bb
index 8f31e7792e..8f31e7792e 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_5.1.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_5.2.bb
index 601f666023..601f666023 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-source_5.1.bb b/meta/recipes-devtools/gcc/gcc-source_5.2.bb
index 234b82efc6..234b82efc6 100644
--- a/meta/recipes-devtools/gcc/gcc-source_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-source_5.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc_5.1.bb b/meta/recipes-devtools/gcc/gcc_5.2.bb
index c4827c6443..c4827c6443 100644
--- a/meta/recipes-devtools/gcc/gcc_5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc_5.2.bb
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_5.1.bb b/meta/recipes-devtools/gcc/libgcc-initial_5.2.bb
index 19f253fce8..19f253fce8 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial_5.1.bb
+++ b/meta/recipes-devtools/gcc/libgcc-initial_5.2.bb
diff --git a/meta/recipes-devtools/gcc/libgcc_5.1.bb b/meta/recipes-devtools/gcc/libgcc_5.2.bb
index a5152f28e9..a5152f28e9 100644
--- a/meta/recipes-devtools/gcc/libgcc_5.1.bb
+++ b/meta/recipes-devtools/gcc/libgcc_5.2.bb
diff --git a/meta/recipes-devtools/gcc/libgfortran_5.1.bb b/meta/recipes-devtools/gcc/libgfortran_5.2.bb
index 71dd8b4bdc..71dd8b4bdc 100644
--- a/meta/recipes-devtools/gcc/libgfortran_5.1.bb
+++ b/meta/recipes-devtools/gcc/libgfortran_5.2.bb