public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl Date: Tue, 09 May 2023 03:51:35 +0000 [thread overview] Message-ID: <bug-105852-4-Rcwen6bnUS@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-105852-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105852 --- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:8b43834d069183e14c15909e144d870c39b74028 commit r12-9519-g8b43834d069183e14c15909e144d870c39b74028 Author: Jason Merrill <jason@redhat.com> Date: Tue Jun 7 15:52:30 2022 -0400 c++: non-templated friends [PR105852] The previous patch for 105852 avoids copying DECL_TEMPLATE_INFO from a non-templated friend, but it really shouldn't have it in the first place. PR c++/106740 PR c++/105852 gcc/cp/ChangeLog: * decl.cc (duplicate_decls): Change non-templated friend check to an assert. * pt.cc (tsubst_function_decl): Don't set DECL_TEMPLATE_INFO on non-templated friends. (tsubst_friend_function): Adjust. gcc/testsuite/ChangeLog: * g++.dg/template/friend78.C: New test.
prev parent reply other threads:[~2023-05-09 3:51 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-05 4:49 [Bug c/105852] New: " dcb314 at hotmail dot com 2022-06-05 5:01 ` [Bug c++/105852] [13 Regression] " pinskia at gcc dot gnu.org 2022-06-05 7:02 ` dcb314 at hotmail dot com 2022-06-05 21:09 ` sam at gentoo dot org 2022-06-05 21:10 ` sam at gentoo dot org 2022-06-06 12:53 ` ppalka at gcc dot gnu.org 2022-06-06 13:03 ` [Bug c++/105852] [11/12/13 " ppalka at gcc dot gnu.org 2022-06-06 15:08 ` slyfox at gcc dot gnu.org 2022-06-06 22:39 ` jason at gcc dot gnu.org 2022-06-08 20:38 ` cvs-commit at gcc dot gnu.org 2022-06-08 20:39 ` cvs-commit at gcc dot gnu.org 2022-06-08 21:31 ` cvs-commit at gcc dot gnu.org 2022-06-08 21:31 ` cvs-commit at gcc dot gnu.org 2022-06-13 12:52 ` rguenth at gcc dot gnu.org 2023-05-09 3:47 ` cvs-commit at gcc dot gnu.org 2023-05-09 3:51 ` cvs-commit 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-105852-4-Rcwen6bnUS@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).