[Bug c++/79781] ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 1 13:57:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
There's back-trace coming from trunk:
g++ const-init.cpp -std=c++14 -c
const-init.cpp:91:17: internal compiler error: in assemble_integer, at
varasm.c:2754
X x = {(long)&k};
^
0x1550515 assemble_integer(rtx_def*, unsigned int, unsigned int, int)
../../gcc/varasm.c:2754
0x1557347 output_constant
../../gcc/varasm.c:4804
0x154e841 assemble_variable_contents
../../gcc/varasm.c:2083
0x154f2a1 assemble_variable(tree_node*, int, int, int)
../../gcc/varasm.c:2259
0x1566fb0 varpool_node::assemble_decl()
../../gcc/varpool.c:588
0xc414c8 output_in_order
../../gcc/cgraphunit.c:2285
0xc41b95 symbol_table::compile()
../../gcc/cgraphunit.c:2525
0xc41dea symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2621
More information about the Gcc-bugs
mailing list