Compilation error : internal segmentation fault with GNU Toolchain 11.3.Rel1

Hello All,

I am getting internal compiler error: Segmentation fault when optimization is set to O2 or O3. I am using GNU C17 (Arm GNU Toolchain 11.3.Rel1) version 11.3.1 20220712 toolchain. 

I am compiling code for STM32U575ZI MCU. Compilation goes through without error when optimization is set to O0 or O1. As soon as Optimization is set to O2 and above, I see the compiler error: internal segmentation fault. Below is screenshot of error. Also attached is log of compilation.

    BuildFailureLog.txt

Can someone tell the reason for internal Segmentation fault and help to fix it?

Regards 

Saurav