This Error is observed in WRL9 toolchains for MIPS target. ICE on gcc.dg/atomic/pr65345-4.c and gcc.dg/pr65345-3.c FAIL: gcc.dg/pr65345-3.c (internal compiler error) FAIL: gcc.dg/atomic/pr65345-4.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (internal compiler error) Bugzilla links for the issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65345
1. source MIPS toolchain 2. $CC sources/gcc-6.2.0/gcc/testsuite/gcc.dg/atomic/pr65345-4.c -meb -mabi=32 -mhard-float -march=mips32r2 -pthread -latomic -fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -DSTACK_SIZE=16384 -S -o pr65345-4.s /home/kpit/damodars/WRL9-8/sources/gcc-6.2.0/gcc/testsuite/gcc.dg/atomic/pr65345-4.c:15:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.