openwrt/toolchain/gcc/patches
Kevin Darbyshire-Bryant afa8873887 gcc: gcc 6.3.0 fix comparison between pointer and integer
Fix FS#832

/source/build_dir/toolchain-mips_74kc_gcc-6.3.0_musl/gcc-6.3.0/gcc/ubsan.c:
In function 'bool ubsan_use_new_style_p(location_t)':
/source/build_dir/toolchain-mips_74kc_gcc-6.3.0_musl/gcc-6.3.0/gcc/ubsan.c:1474:23:
error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]
       || xloc.file == '\0' || xloc.file[0] == '\xff'
                       ^~~~
make[5]: *** [Makefile:1085: ubsan.o] Error 1

https://www.viva64.com/en/b/0425/#ID0EMGCI

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 22e2b402ae)
2018-04-27 08:54:15 +02:00
..
5.4.0 gcc: fix documentation entries added by 910-mbsd_multi.patch 2017-12-13 15:42:08 +01:00
6.3.0 gcc: gcc 6.3.0 fix comparison between pointer and integer 2018-04-27 08:54:15 +02:00
arc-2016.03 gcc: remove obsolete uclibc patch 2017-12-13 14:16:17 +01:00