Internal Compiler Error observed in WRL9 and WRL10 toolchains during regression testing for pr57451.C testcase FAIL: g++.dg/tree-prof/pr57451.C compilation, -fprofile-use -D_PROFILE_USE (internal compiler error) UNRESOLVED: g++.dg/tree-prof/pr57451.C execution, -fprofile-use -D_PROFILE_USE Similar bug was reported on community and the fix needs to be back-ported. Bugzilla link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83030
1. source <toolchain_install_path>/MIPS/environment-setup-mips64-oe-linux 2. $CC gcc/testsuite/g++.dg/tree-prof/pr57451.C -fno-diagnostics-show-caret -fdiagnostics-color=never -meb -mabi=64 -mhard-float -fmessage-length=0 -O2 -freorder-blocks-and-partition -g -fprofile-use -D_PROFILE_USE -lm -o pr57451.x02 /amrutap/WRL10/source/gcc-7.2.0/gcc/testsuite/g++.dg/tree-prof/pr57451.C: In function 'Data getData(int)': /amrutap/WRL10/source/gcc-7.2.0/gcc/testsuite/g++.dg/tree-prof/pr57451.C:16:1: internal compiler error: in create_pseudo_cfg, at dwarf2cfi.c:2851^M Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions.