diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-10-14 08:48:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-14 07:55:02 -0700 |
commit | 02b66069c561be3d5567712e5fc43b6340109ed1 (patch) | |
tree | 7804665cba85ae6a4d25a8110455a85e9d048031 /meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch | |
parent | fbf0a745375c293b92cd2584364d7a3c3731fe7e (diff) | |
download | poky-02b66069c561be3d5567712e5fc43b6340109ed1.tar.gz |
gcc6: Upgrade to 6.4
Cherry-picked from oe-core master 7874fa86cb583fe6a178b95ead09430486197197
(From OE-Core rev: 4a9eee06a6d15a23f58bc981c83138964702b735)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch b/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch deleted file mode 100644 index c0127198e0..0000000000 --- a/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 8db2cf6353c13f2a84cbe49b689654897906c499 Mon Sep 17 00:00:00 2001 | ||
2 | From: kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Sat, 3 Sep 2016 10:57:05 +0000 | ||
4 | Subject: [PATCH] gcc/ * ubsan.c (ubsan_use_new_style_p): Fix check for empty | ||
5 | string. | ||
6 | |||
7 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239971 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> | ||
11 | |||
12 | --- | ||
13 | gcc/ubsan.c | 2 +- | ||
14 | 2 files changed, 5 insertions(+), 1 deletion(-) | ||
15 | |||
16 | Index: gcc-6.3.0/gcc/ubsan.c | ||
17 | =================================================================== | ||
18 | --- gcc-6.3.0.orig/gcc/ubsan.c | ||
19 | +++ gcc-6.3.0/gcc/ubsan.c | ||
20 | @@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) | ||
21 | |||
22 | expanded_location xloc = expand_location (loc); | ||
23 | if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 | ||
24 | - || xloc.file == '\0' || xloc.file[0] == '\xff' | ||
25 | + || xloc.file[0] == '\0' || xloc.file[0] == '\xff' | ||
26 | || xloc.file[1] == '\xff') | ||
27 | return false; | ||
28 | |||