https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105
--- Comment #6 from Andrew Pinski ---
> -O3 -mtune=cortex-a53 -fomit-frame-pointer -fipa-pta -march=armv8-a+crc
> -ftree-vectorize
Can you show the exact command line which you used to configure GCC? And the
output of env?
A normal bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105
--- Comment #7 from PeteVine ---
Restarted the whole thing from scratch using gcc 5.4 and it segfaulted again.
../../../libgcc/libgcc2.c: In function ‘__powitf2’:
../../../libgcc/libgcc2.c:1851:1: internal compiler error: Segmentation fault
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105
--- Comment #8 from PeteVine ---
FWIW, here's the corresponding backtrace:
#0 0x00afa00c in df_get_live_out () at ../../gcc/df.h:1159
#1 update_ebb_live_info (tail=, head=0x137b838
) at ../../gcc/lra-constraints.c:5612
#2 lra_inherita
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105
--- Comment #9 from PeteVine ---
Ha! It's not about the extra options, thank you! ;)
Completely vanilla environment and gcc 5.4 produce this after a while:
../build-lto-noflags/./gcc/xgcc -B../build-lto-noflags/./gcc/
-B/usr/gcc7/aarch64-linux-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105
--- Comment #10 from PeteVine ---
Hold on, I'm investigating the effect of binutils downgrade (2.27 -> 2.26) and
switching to ld.bfd. Strange that it all works fine during normal bootstrap,
regardless of the codegen options.