public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99640] Internal compiler error: in lookup_template_class_1, at cp/pt.c:9895 Date: Thu, 18 Mar 2021 10:50:56 +0000 [thread overview] Message-ID: <bug-99640-4-Dt2HgxR73B@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99640-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99640 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r8-2720-gf44a8dd56f5bfbd0596c39693e268ef880c06221 Doesn't ICE anymore on the trunk starting with r11-7418-g27f9a87886d48448f83e0e559dcf028b1a4a4ec6 but is rejected instead: pr99640.C: In lambda function: pr99640.C:19:44: error: statement cannot resolve address of overloaded function 19 | [](auto) { operator(); }; | ^~~~~~~~~~ pr99640.C: In instantiation of ‘void QVariantOutputArchive::operator()() [with <template-parameter-1-1> = {}]’: pr99640.C:39:6: required from ‘void qVariantArchiveTestVersioned() [with <template-parameter-1-1> = int; int <anonymous> = 1]’ pr99640.C:41:69: required from here pr99640.C:19:44: error: statement cannot resolve address of overloaded function Thus, I think it is a dup. *** This bug has been marked as a duplicate of bug 95451 ***
prev parent reply other threads:[~2021-03-18 10:50 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-18 7:15 [Bug c++/99640] New: " fiesh at zefix dot tv 2021-03-18 10:50 ` jakub at gcc dot gnu.org [this message]
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-99640-4-Dt2HgxR73B@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).