public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98333] New: [10/11 Regression] ICE in check_qualified_type, at tree.c:6593 Date: Wed, 16 Dec 2020 18:40:58 +0000 [thread overview] Message-ID: <bug-98333-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98333 Bug ID: 98333 Summary: [10/11 Regression] ICE in check_qualified_type, at tree.c:6593 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20190616 and 20190623, with an extra "()" : $ cat z1.cc struct T { template <class> struct S { S () noexcept () {} }; int a = __has_nothrow_constructor (S<int>); }; $ g++-11-20201213 -c z1.cc z1.cc: In instantiation of 'T::S< <template-parameter-1-1> >::S() [with <template-parameter-1-1> = int]': z1.cc:5:44: required from here z1.cc:4:5: internal compiler error: Segmentation fault 4 | { S () noexcept () {} }; | ^ 0xc8f5ff crash_signal ../../gcc/toplev.c:327 0xf00280 check_qualified_type(tree_node const*, tree_node const*, int) ../../gcc/tree.c:6593 0xf00384 get_qualified_type(tree_node*, int) ../../gcc/tree.c:6625 0xf0d6b3 build_qualified_type(tree_node*, int) ../../gcc/tree.c:6656 0x654566 strip_top_quals(tree_node*) ../../gcc/cp/call.c:1177 0x654566 standard_conversion ../../gcc/cp/call.c:1202 0x656c7a implicit_conversion_1 ../../gcc/cp/call.c:2008 0x656c7a implicit_conversion ../../gcc/cp/call.c:2108 0x6669df build_converted_constant_expr_internal ../../gcc/cp/call.c:4369 0x6e5289 build_noexcept_spec(tree_node*, int) ../../gcc/cp/except.c:1234 0x775ce9 maybe_instantiate_noexcept(tree_node*, int) ../../gcc/cp/pt.c:25545 0x7759f8 maybe_instantiate_noexcept(tree_node*, int) ../../gcc/cp/pt.c:25481 0x79d235 trait_expr_value ../../gcc/cp/semantics.c:10246 0x7a7c6a finish_trait_expr(unsigned int, cp_trait_kind, tree_node*, tree_node*) ../../gcc/cp/semantics.c:10449 0x748dd7 cp_parser_trait_expr ../../gcc/cp/parser.c:10749 0x73f58c cp_parser_primary_expression ../../gcc/cp/parser.c:5777 0x741b75 cp_parser_postfix_expression ../../gcc/cp/parser.c:7491 0x751a35 cp_parser_unary_expression ../../gcc/cp/parser.c:8808 0x72b84f cp_parser_cast_expression ../../gcc/cp/parser.c:9712 0x72c082 cp_parser_binary_expression ../../gcc/cp/parser.c:9814
next reply other threads:[~2020-12-16 18:40 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-16 18:40 gscfq@t-online.de [this message] 2020-12-17 11:20 ` [Bug c++/98333] [10/11 Regression] ICE in check_qualified_type, at tree.c:6593 since r10-1280-g78f7607db4c53f8c marxin at gcc dot gnu.org 2020-12-17 15:00 ` mpolacek at gcc dot gnu.org 2021-01-04 15:34 ` rguenth at gcc dot gnu.org 2021-01-07 23:24 ` mpolacek at gcc dot gnu.org 2021-01-19 20:40 ` cvs-commit at gcc dot gnu.org 2021-01-19 20:42 ` [Bug c++/98333] [10 " mpolacek at gcc dot gnu.org 2021-04-08 12:02 ` rguenth at gcc dot gnu.org 2021-04-09 22:25 ` cvs-commit at gcc dot gnu.org 2021-04-09 22:27 ` mpolacek 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-98333-4@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).