public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "slyfox at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8 Date: Wed, 21 Dec 2022 22:19:00 +0000 [thread overview] Message-ID: <bug-108047-4-Pkc4m7Xdho@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108047-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047 --- Comment #6 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- Encountered very similar ICE, this time on toml library on this week's gcc-13 master. Reduced it down to the following: // $ cat bug.cc #include <string> #include <vector> void format_underline(std::vector<std::string>); template <typename> void parse_key_value_pair(void) { format_underline({""}); } $ g++ -c bug.cc ... bug.cc: In function 'void parse_key_value_pair()': bug.cc:7:51: internal compiler error: unexpected expression '(std::__cxx11::basic_string<char>)""' of kind implicit_conv_expr 7 | void parse_key_value_pair(void) { format_underline({""}); } | ~~~~~~~~~~~~~~~~^~~~~~ 0x1cbb294 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x1cbbee6 internal_error(char const*, ...) ???:0 0x79c770 cxx_eval_constant_expression(constexpr_ctx const*, tree_node*, value_cat, bool*, bool*, tree_node**) ???:0 0x7a1572 cxx_eval_outermost_constant_expr(tree_node*, bool, bool, bool, bool, tree_node*) ???:0 0x7a52e6 maybe_constant_init_1(tree_node*, tree_node*, bool, bool) ???:0 0x77a767 build_user_type_conversion_1(tree_node*, tree_node*, int, int) ???:0
next prev parent reply other threads:[~2022-12-21 22:19 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-10 11:38 [Bug c++/108047] New: ice: unexpected expression of kind implicit_conv_expr dcb314 at hotmail dot com 2022-12-11 8:32 ` [Bug c++/108047] " dcb314 at hotmail dot com 2022-12-11 8:57 ` dcb314 at hotmail dot com 2022-12-11 9:26 ` dcb314 at hotmail dot com 2022-12-12 12:06 ` slyfox at gcc dot gnu.org 2022-12-12 13:22 ` [Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8 marxin at gcc dot gnu.org 2022-12-12 16:39 ` pinskia at gcc dot gnu.org 2022-12-21 11:45 ` rguenth at gcc dot gnu.org 2022-12-21 22:19 ` slyfox at gcc dot gnu.org [this message] 2023-01-02 16:41 ` pinskia at gcc dot gnu.org 2023-01-06 11:20 ` jakub at gcc dot gnu.org 2023-01-06 18:50 ` pinskia at gcc dot gnu.org 2023-01-06 20:06 ` slyfox at gcc dot gnu.org 2023-01-09 22:41 ` cvs-commit at gcc dot gnu.org 2023-01-23 15:41 ` mpolacek at gcc dot gnu.org 2023-01-23 15:45 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-108047-4-Pkc4m7Xdho@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).