Hi Jason et al,

After a bisect I found that the commit
7fc49a5777943aab11e227136d00a836f28f12b2 causes a segmentation fault
during my compilation:

sqlpp11/include/sqlpp11/where.h: In substitution of ‘template<bool
WhereRequired> template<class Policies> template<class Check, class T>
using _new_statement_t = sqlpp::new_statement_t<Check, Policies,
sqlpp::no_where_t<WhereRequired>, T> [with Check =
sqlpp::consistent_t; T = sqlpp::where_t<void, sqlpp::unconditional_t>;
Policies = Policies; bool WhereRequired = WhereRequired]’:
sqlpp11/include/sqlpp11/where.h:320:99:   required from here
sqlpp11/include/sqlpp11/where.h:320:99: internal compiler error:
Segmentation fault
  320 |       auto unconditionally() const ->
_new_statement_t<consistent_t, where_t<void, unconditional_t>>
      |
                                   ^~
0xc9978f crash_signal
../../gcc/toplev.c:328
0x692b05 pop_nested_class()
../../gcc/cp/class.c:8184
0x7a3157 instantiate_template_1
../../gcc/cp/pt.c:20853
0x79e0b4 instantiate_template(tree_node*, tree_node*, int)
../../gcc/cp/pt.c:20908
0x79e0b4 instantiate_alias_template
../../gcc/cp/pt.c:20946
0x79e0b4 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.c:15147
0x7a451f lookup_template_class_1
../../gcc/cp/pt.c:9853
0x7a4bfc lookup_template_class(tree_node*, tree_node*, tree_node*,
tree_node*, int, int)
../../gcc/cp/pt.c:10119
0x7c154d finish_template_type(tree_node*, tree_node*, int)
../../gcc/cp/semantics.c:3408
0x768b7d cp_parser_template_id
../../gcc/cp/parser.c:16739
0x768dec cp_parser_class_name
../../gcc/cp/parser.c:23713
0x765b21 cp_parser_qualifying_entity
../../gcc/cp/parser.c:6776
0x765b21 cp_parser_nested_name_specifier_opt
../../gcc/cp/parser.c:6458
0x76d126 cp_parser_simple_type_specifier
../../gcc/cp/parser.c:18134
0x753e0d cp_parser_type_specifier
../../gcc/cp/parser.c:17792
0x7673c9 cp_parser_type_specifier_seq
../../gcc/cp/parser.c:22402
0x761954 cp_parser_type_id_1
../../gcc/cp/parser.c:22219
0x7606ff cp_parser_trailing_type_id
../../gcc/cp/parser.c:22325
0x7606ff cp_parser_late_return_type_opt
../../gcc/cp/parser.c:22129
0x7606ff cp_parser_direct_declarator
../../gcc/cp/parser.c:21258

I hope this is enough since I am not experienced in GCC development.

Thanks,
Nuno

Reply via email to