Hello, Trunk currently fails to bootstrap with SMS flags on ARM machine. (I'm using -r175900. btw, -r175091 bootstrap OK) Investigating the problem; it seems that the cause is not related to SMS but rather to the doloop optimization which is enabled only when SMS flags are set. (but that also does not mean that doloop is the reason for the fail; it could be some later passes) The first file that doloop is applied on and causes bootstrap failure is bb-reorder.c. The problematic loop seems to be the last FOR_EACH_EDGE in connect_traces function which is inlined into reorder_basic_block, I'm having extremely difficulty in locating what's exactly the problem and even creating a reduced testcase and I would highly appreciate any help/suggestions.
I should also probably open a PR for this. This is the bootstrap error: -fvisibility=hidden -DHIDE_EXPORTS ../../../gcc/libgcc/../gcc/libgcc2.c: In function '__addvsi3': ../../../gcc/libgcc/../gcc/libgcc2.c:85:1: internal compiler error: vector VEC(edge,base) index domain error, in ei_edge at basic-block.h:672 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [_addvsi3.o] Error 1 make[3]: *** Waiting for unfinished jobs.... ../../../gcc/libgcc/../gcc/libgcc2.c: In function '__addvdi3': ../../../gcc/libgcc/../gcc/libgcc2.c:110:1: internal compiler error: vector VEC(edge,base) index domain error, in ei_edge at basic-block.h:672 Please submit a full bug report, Thanks, Revital