[llvm-dev] GCC 5 and -Wstrict-aliasing in JSON.h

Jonathan Wakely via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 9 04:06:18 PDT 2018


On Thu, 9 Aug 2018 at 12:04, Leslie Zhai wrote:
>
> Hi Jonathan,
>
> Thanks for your response!
>
> So workaround for Kim's issue is bootstrap old version LLVM with GCC 4/5
> to build old clang, then bootstrap latest LLVM with old clang.

It would be much easier to just use -fno-strict-aliasing with the older GCC.


More information about the llvm-dev mailing list