Fixed
Created: Jan 17, 2018
Updated: Dec 3, 2018
Resolved Date: Feb 1, 2018
Found In Version: 8.0.0.24
Fix Version: 8.0.0.25
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Toolchain
Internal Compiler Error is observed in wrl8-19 toolchain while running regression for pr55113_0.c testcase
FAIL: gcc.dg/lto/pr55113 c_lto_pr55113_0.o assemble, -flto -fshort-double -O0 (internal compiler error)
UNRESOLVED: gcc.dg/lto/pr55113 c_lto_pr55113_0.o-c_lto_pr55113_0.o link -flto -fshort-double -O0
UNRESOLVED: gcc.dg/lto/pr55113 c_lto_pr55113_0.o-c_lto_pr55113_0.o execute -flto -fshort-double -O0
Similar bug was reported in community and the fix needs to be back-ported for WRL8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60410
1. $ source <toolchain_install_path>/IA32/environment-setup-haswell-ep-32-linux
2. $ $CC gcc-5.2.0/gcc/testsuite/gcc.dg/lto/pr55113_0.c -m32 -march=haswell -mtune=haswell -mfpmath=sse -msse4.2 -mavx2 -static -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -fshort-double
-O0 -c -o pr55113_0.o
<built-in>: internal compiler error: in layout_type, at stor-layout.c:2232
Please submit a full bug report,
with preprocessed source if appropriate.
See <support@windriver.com> for instructions.