https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91500
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- > ./cc1plus -quiet ccOfXKGA.ii -std=c++17 /clickhouse-18.16.1+ds/dbms/src/Storages/ColumnDefault.cpp: In function ‘std::string DB::toString(DB::ColumnDefaultKind)’: /clickhouse-18.16.1+ds/dbms/src/Storages/ColumnDefault.cpp:47:117: internal compiler error: in ocp_convert, at cp/cvt.c:766 0x933e66 ocp_convert(tree_node*, tree_node*, int, int, int) /space/rguenther/src/svn/gcc-9-branch/gcc/cp/cvt.c:766 0x93699c convert(tree_node*, tree_node*) /space/rguenther/src/svn/gcc-9-branch/gcc/cp/cvt.c:1637 0xbd0e11 check_return_expr(tree_node*, bool*) /space/rguenther/src/svn/gcc-9-branch/gcc/cp/typeck.c:9800 0xb57af5 finish_return_stmt(tree_node*) /space/rguenther/src/svn/gcc-9-branch/gcc/cp/semantics.c:894 0xa655b0 cp_parser_jump_statement /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:12919 0xa61762 cp_parser_statement /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:11191 0xa62697 cp_parser_statement_seq_opt /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:11657 0xa6258b cp_parser_compound_statement /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:11611 0xa773b5 cp_parser_function_body /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:22662 0xa776db cp_parser_ctor_initializer_opt_and_function_body /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:22711 0xa813b2 cp_parser_function_definition_after_declarator /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:27812 0xa811d9 cp_parser_function_definition_from_specifiers_and_declarator /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:27729 0xa72de2 cp_parser_init_declarator /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:20297 0xa668c2 cp_parser_simple_declaration /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:13551 0xa6648b cp_parser_block_declaration /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:13367 0xa66170 cp_parser_declaration /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:13238 0xa6626b cp_parser_toplevel_declaration /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:13267 0xa65cc6 cp_parser_declaration_seq_opt /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:13114 0xa70ca9 cp_parser_namespace_body /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:19327 0xa70c53 cp_parser_namespace_definition /space/rguenther/src/svn/gcc-9-branch/gcc/cp/parser.c:19305 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.