Wind River Support Network


LIN10-3050 : gcc/testsuite/g++.dg/tree-prof/pr57451.C for MIPS target

Created: Jan 11, 2018    Updated: Mar 4, 2019
Resolved Date: Jan 17, 2018
Previous ID: LIN9-6169,TCWRLGCC-297
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Toolchain


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:

Steps to Reproduce

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 <> for instructions.

Other Downloads

Live chat