Files
poky/meta/recipes-devtools/gcc
Joshua Lock 5f7d84821f gcc-6.2: backport fix of check for empty string in ubsan.c
Building gcc-cross-initial with GCC7 on the host fails due to the
comparison of a pointer to an integer in ubsan_use_new_style_p, which
is forbidden by ISO C++:

ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and
integer [-fpermissive]
       || xloc.file == '\0' || xloc.file[0] == '\xff'

Backport the fix from upstream GCC to enable the build with GCC 7

(From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3)

(From OE-Core rev: ad685600d52b2e8b6f4cdbf46baa9f14b51565dd)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29 16:50:52 +01:00
..
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00
2016-07-01 16:22:44 +01:00
2016-08-19 10:23:55 +01:00