https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107478
Bug ID: 107478 Summary: ICE compiling for arm-none-eabi during GIMPLE pass: dom Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jwhitakera at gmail dot com Target Milestone: --- Attempting to compile open source code provided by ST Microelectronics which resulted in the following crash. Compiles successfully with: arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release) Fails similarly with: GNU C11 (Arm GNU Toolchain 11.3.Rel1) version 11.3.1 20220712 (arm-none-eabi) Reproduction command: /path/to/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi/bin/../libexec/gcc/arm-none-eabi/11.3.1/cc1 -fpreprocessed stm32u5xx_hal_dma_ex.i -quiet -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -mlibarch=armv8-m.main+dsp+fp -march=armv8-m.main+dsp+fp -g3 -O2 -Wall -std=gnu11 -version -ffunction-sections -fdata-sections -o stm32u5xx_hal_dma_ex.s GNU C11 (GNU Toolchain for the Arm Architecture 11.2-2022.02 (arm-11.14)) version 11.2.1 20220111 (arm-none-eabi) compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-44), GMP version 6.2.1, MPFR version 3.1.6, MPC version 1.0.3, isl version isl-0.15-1-g835ea3a-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C11 (GNU Toolchain for the Arm Architecture 11.2-2022.02 (arm-11.14)) version 11.2.1 20220111 (arm-none-eabi) compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-44), GMP version 6.2.1, MPFR version 3.1.6, MPC version 1.0.3, isl version isl-0.15-1-g835ea3a-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: bbcc971fe1d982fd7c3c6bbfd8b1bd3d during GIMPLE pass: dom ../Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_dma_ex.c: In function 'HAL_DMAEx_List_InsertNode_Head': ../Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_dma_ex.c:1263:19: internal compiler error: Segmentation fault 0x7f8c9ad2751f ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0x7f8c9ad0ed8f __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f8c9ad0ee3f __libc_start_main_impl ../csu/libc-start.c:392 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.linaro.org/> for instructions.