[Bug c++/93753] New: internal compiler error: in output_constructor_regular_field, at varasm.c:5255
changochen1 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Feb 15 04:46:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93753
Bug ID: 93753
Summary: internal compiler error: in
output_constructor_regular_field, at varasm.c:5255
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: changochen1 at gmail dot com
Target Milestone: ---
POC:
---
struct {
int mem [ ] ;
int b ;
} s = {1};
---
run script:
---
g++ -o poc poc.cpp
---
g++ version:
---
g++ (GCC) 10.0.1 20200214 (experimental)
---
Stack dump:
---
poc.cpp:4:10: internal compiler error: in output_constructor_regular_field, at
varasm.c:5255
4 | } s = {1};
| ^
0x836f9b output_constructor_regular_field
../../gcc/varasm.c:5255
0x836f9b output_constructor
../../gcc/varasm.c:5536
0x1311bcd output_constant
../../gcc/varasm.c:4908
0x1311bcd assemble_variable_contents
../../gcc/varasm.c:2148
0x1317158 assemble_variable(tree_node*, int, int, int)
../../gcc/varasm.c:2327
0x131a9d9 varpool_node::assemble_decl()
../../gcc/varpool.c:587
0xbe50cc output_in_order
../../gcc/cgraphunit.c:2564
0xbe50cc symbol_table::compile()
../../gcc/cgraphunit.c:2801
0xbe733c symbol_table::compile()
../../gcc/cgraphunit.c:2717
0xbe733c symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2984
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
---
More information about the Gcc-bugs
mailing list