Andreas Schwab writes: > Jiong Wang <jiong.w...@arm.com> writes: > >> I Just finished several round of rebuild & testing on clean >> environment. > > How did you even manage to compile it? > > ../../gcc/ira.c: In function 'void print_translated_classes(FILE*, bool)': > ../../gcc/ira.c:1415:49: error: iteration 8u invokes undefined behavior > [-Werror=aggressive-loop-optimizations] > fprintf (f, " %s -> %s\n", reg_class_names[i], > ^ > ../../gcc/ira.c:1414:17: note: containing loop > for (i = 0; i < N_REG_CLASSES; i++) > ^ > > Andreas.
What I have done on a clean environment: 1. checkout e5c427f3245ff69d8b014d4ff170715962178151 which might be the commit cause the trouble. mkdir build-dir1 configure/build/check-go in build-dir1 (configuation options --enable-languages=c,c++,fortran,go --prefix=/home/jiowan01/COMMUNITY/install-gcc-native-reference --disable-bootstrap) and I do see lots of go failures. 2. checkout the one commit before this wrong commit. re-done everything in a new build-dir2 check-go OK 3. applied my new tlsdesc patch re-done everything in a new build-dir3 check-go OK 4. checkout commit 8b221598008f60621859caee561e8466e80049f7 Author: jiwang <jiwang@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Aug 10 10:06:28 2015 +0000 [AArch64] Recommit correct version for improving TLS descriptor pattern re-done everything in a new build-dir4 check-go OK my host gcc is "gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1)", I guess you have enabled bootstrap. -- Regards, Jiong