Wind River Support Network


LIN8-8577 : gcc/testsuite/gcc.dg/lto/pr55113_0.c

Created: Jan 17, 2018    Updated: Dec 3, 2018
Resolved Date: Feb 1, 2018
Found In Version:
Fix Version:
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

Steps to Reproduce

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

Other Downloads

Live chat