[Bug middle-end/97804] New: ICE in output_constructor_register_field varasm.c:5407
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 11 22:51:48 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97804
Bug ID: 97804
Summary: ICE in output_constructor_register_field
varasm.c:5407
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: law at redhat dot com
Target Milestone: ---
Trunk as of 5d46ec3db21d8c8926f15a634b2d6570536db5f1 faults compiling the
attached code with -O2 -std=c++17 on x86_64:
./cc1plus -O2 -std=c++17 FreeLookCamera.cpp.ii -quiet -w
/builddir/build/BUILD/dolphin-31524288e3b2450eaefff8202c6d26c4ba3f7333/Source/Core/VideoCommon/FreeLookCamera.cpp:305:1:
internal compiler error: in output_constructor_regular_field, at varasm.c:5407
0x1bd1821 output_constructor_regular_field
/home/gcc/gcc/gcc/varasm.c:5407
0x1bd2742 output_constructor
/home/gcc/gcc/gcc/varasm.c:5713
0x1bd0ed0 output_constant
/home/gcc/gcc/gcc/varasm.c:5222
0x1bd1b62 output_constructor_regular_field
/home/gcc/gcc/gcc/varasm.c:5446
0x1bd2742 output_constructor
/home/gcc/gcc/gcc/varasm.c:5713
0x1bd0ed0 output_constant
/home/gcc/gcc/gcc/varasm.c:5222
0x1bd1b62 output_constructor_regular_field
/home/gcc/gcc/gcc/varasm.c:5446
0x1bd2742 output_constructor
/home/gcc/gcc/gcc/varasm.c:5713
0x1bd0ed0 output_constant
/home/gcc/gcc/gcc/varasm.c:5222
0x1bd1b62 output_constructor_regular_field
/home/gcc/gcc/gcc/varasm.c:5446
0x1bd2742 output_constructor
/home/gcc/gcc/gcc/varasm.c:5713
0x1bd0ed0 output_constant
/home/gcc/gcc/gcc/varasm.c:5222
0x1bd1b62 output_constructor_regular_field
/home/gcc/gcc/gcc/varasm.c:5446
0x1bd2742 output_constructor
/home/gcc/gcc/gcc/varasm.c:5713
0x1bd0ed0 output_constant
/home/gcc/gcc/gcc/varasm.c:5222
0x1bd1b62 output_constructor_regular_field
/home/gcc/gcc/gcc/varasm.c:5446
0x1bd2742 output_constructor
/home/gcc/gcc/gcc/varasm.c:5713
0x1bd0ed0 output_constant
/home/gcc/gcc/gcc/varasm.c:5222
0x1bc6059 assemble_variable_contents
/home/gcc/gcc/gcc/varasm.c:2128
0x1bc6afc assemble_variable(tree_node*, int, int, int)
/home/gcc/gcc/gcc/varasm.c:2307
I haven't tried to reproduce or bisect. However, I would assume is likely a
regression.
More information about the Gcc-bugs
mailing list