https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108340
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Working on that, it's fixed on master, so bisecting now. Reduced test-case: int DMA_List_CheckNodesBaseAddresses_pNode1, DMA_List_CheckNodesBaseAddresses_pNode2; int DMA_List_CheckNodesBaseAddresses() { unsigned temp = ((int)&DMA_List_CheckNodesBaseAddresses_pNode1 | (int)&DMA_List_CheckNodesBaseAddresses_pNode2) & 65535 << 16; int ref = (int)&DMA_List_CheckNodesBaseAddresses_pNode1; if (temp != (ref & 65535 << 16)) return 1; } $ arm-suse-linux-gnueabi-gcc-11 pr108340.i -c -O2 during GIMPLE pass: evrp pr108340.i: In function 'DMA_List_CheckNodesBaseAddresses': pr108340.i:10:1: internal compiler error: Segmentation fault 10 | } | ^ 0x7ffff78b78df ??? /usr/src/debug/glibc-2.36/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0x7ffff78a15af __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7ffff78a1678 __libc_start_main_impl ../csu/libc-start.c:381 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.opensuse.org/> for instructions.