Wind River Support Network

HomeDefectsLIN9-6244
Fixed

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

Created: Jan 22, 2018    Updated: Dec 3, 2018
Resolved Date: Jan 28, 2018
Found In Version: 9.0.0.13
Fix Version: 9.0.0.14
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Toolchain

Description

Internal Compiler Error observed in WRL9 toolchain 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

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  

/WRL9/source/gcc-6.2.0/gcc/testsuite/g++.dg/tree-prof/pr57451.C: In function 'Data getData(int)':
/WRL9/source/gcc-6.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.

Other Downloads


Live chat
Online