https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77996
--- Comment #3 from Yichao Yu <yyc1992 at gmail dot com> --- > What exact version of LLVM are you trying to compile? Revision of the LLVM > sources including revision of clang, etc. I was compiling the trunk version. The version I started reducing from was https://github.com/llvm-mirror/llvm/commit/0885462106134999f8aa80a3a71bfed160910248 but it happens on at least 3 different version I've tried before this commit. > Can you try compile GCC from the 6 branch and try again because having just a > date might not be enough to reproduce the problem. The script used to compile GCC is https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/gcc/PKGBUILD so it seems to be using commit `c2103c17` I can also try to compile a more recent version locally (will take some time).