This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/86355] Internal compiler error with pack expansion and fold expression


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
An ICE started with r245340 but that was a different one:

internal compiler error: Segmentation fault
 using check2 = mp_all<mp_all<std::is_constructible<T>..., mp_all<>>>;
                                                                     ^
0x11217ce crash_signal
        ../../gcc/toplev.c:333
0x769197 standard_conversion
        ../../gcc/cp/call.c:1109
0x76bf97 implicit_conversion
        ../../gcc/cp/call.c:1839
0x77417d build_integral_nontype_arg_conv(tree_node*, tree_node*, int)
        ../../gcc/cp/call.c:4023
0x8088e8 convert_nontype_argument
        ../../gcc/cp/pt.c:6484
0x80d0c6 convert_template_argument
        ../../gcc/cp/pt.c:7649
0x80eb7a coerce_template_parms
        ../../gcc/cp/pt.c:8109
0x80f100 coerce_innermost_template_parms
        ../../gcc/cp/pt.c:8214
0x81180a lookup_template_class_1
        ../../gcc/cp/pt.c:8633
0x814422 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
        ../../gcc/cp/pt.c:8979
0x820abf tsubst_aggr_type
        ../../gcc/cp/pt.c:11856
0x829507 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13354
0x81c6e1 tsubst_template_arg
        ../../gcc/cp/pt.c:10764
0x81fb30 tsubst_template_args
        ../../gcc/cp/pt.c:11647
0x81f902 tsubst_template_args
        ../../gcc/cp/pt.c:11629
0x82b2fc tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13695
0x828e22 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13298
0x826cc1 tsubst_decl
        ../../gcc/cp/pt.c:12767
0x828b92 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13272
0x8439ca instantiate_template_1
        ../../gcc/cp/pt.c:18087
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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]