X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=ath9k_htc%2Flocal%2Fpatches%2Fgcc.patch2;fp=ath9k_htc%2Flocal%2Fpatches%2Fgcc.patch2;h=4d8257463b7558b417d6a420313093b58604b946;hb=bc69b51eca842f9a09ed8482f67bdd607af554f3;hp=0000000000000000000000000000000000000000;hpb=4d82a54061be75c0bf489026aad55821bc9c61c7;p=linux-libre-firmware.git diff --git a/ath9k_htc/local/patches/gcc.patch2 b/ath9k_htc/local/patches/gcc.patch2 new file mode 100644 index 0000000..4d82574 --- /dev/null +++ b/ath9k_htc/local/patches/gcc.patch2 @@ -0,0 +1,13 @@ +diff --git a/gcc/ubsan.c b/gcc/ubsan.c +index 56637d8..1093824 100644 +--- a/gcc/ubsan.c ++++ b/gcc/ubsan.c +@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) + + expanded_location xloc = expand_location (loc); + if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 +- || xloc.file == '\0' || xloc.file[0] == '\xff' ++ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' + || xloc.file[1] == '\xff') + return false; +