https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832
--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to qinzhao from comment #11) > Hi, (In reply to Martin Liška from comment #10) > > Fixed on trunk. > I am trying to back port the fix for 89832 into our company's gcc8.2.1 > release. > by looking at the patch, it's huge, and it's include the patches for both > 89832 and 91325. Well, it's actually a merge from trunk which means the libsanitizer is massively updated. > when I generated the patch from gcc trunk and applied it into our gcc8.2.1 > release, a lot of issues. So, I am wondering whether there is any better way > to do this: > > 1. Can I just simply replace all the files under gcc/libsantinizer in > gcc8.2.1 with the new files? Please don't do it. > 2. if not, what is the patch ONLY for 89832? You can cherry pick: https://github.com/llvm/llvm-project/commit/0b1ea8cb2825