[Bug c++/89089] [9 regression] various ICEs in range-v3's 1.0 branch

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 28 14:16:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89089

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |jason at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The #c2 and #c3 preprocessed sources started ICEing in r261084, first like:
internal compiler error: in tsubst_copy, at cp/pt.c:15935
0xa3de70 tsubst_copy
        ../../gcc/cp/pt.c:15935
0xa502ec tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
        ../../gcc/cp/pt.c:18994
0xa35c66 tsubst_exception_specification
        ../../gcc/cp/pt.c:14103
0xa61be7 regenerate_decl_from_template
        ../../gcc/cp/pt.c:23353
0xa65370 instantiate_decl(tree_node*, bool, bool)
        ../../gcc/cp/pt.c:23921
and then #c2 in r267155 changed into:
internal compiler error: Segmentation fault
0x13abb3c crash_signal
        ../../gcc/toplev.c:326
0x82a599 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        ../../gcc/tree.h:3270
0xeb0d33 size_binop_loc(unsigned int, tree_code, tree_node*, tree_node*)
        ../../gcc/fold-const.c:1905
0x8782a8 end_of_class
        ../../gcc/cp/class.c:5962
0x878c07 layout_class_type
        ../../gcc/cp/class.c:6162
0x87c429 finish_struct_1(tree_node*)
        ../../gcc/cp/class.c:6941
0xa7f5f4 instantiate_class_template_1
        ../../gcc/cp/pt.c:11393
0xa7f76a instantiate_class_template(tree_node*)
        ../../gcc/cp/pt.c:11432
0xb47f8d complete_type(tree_node*)
        ../../gcc/cp/typeck.c:138
0xb47fb2 complete_type_or_maybe_complain(tree_node*, tree_node*, int)
        ../../gcc/cp/typeck.c:150
0xb47c09 require_complete_type_sfinae(tree_node*, int)
        ../../gcc/cp/typeck.c:94
#c3 similarly, but already in r264813.
#c4 never ICEd in tsubst_copy, only started to ICE with r264813.


More information about the Gcc-bugs mailing list