https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109069
--- Comment #2 from Kewen Lin <linkw at gcc dot gnu.org> --- Thanks for reporting, I don't have a handy Power10 ppc64 (BE) env for reproducing this, do you mind to reduce it a bit first? (hint: https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction) btw, I tried to check if we can reproduce this on Power10 ppc64le as the code having __BYTE_ORDER__ check which seems to say it works on both BE and LE, but it gets segfault on LE, even I used one power9 ppc64le machine and option -mcpu=power8 -O0. Any thoughts?