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++/61355] gcc doesn't normalize type in non-type template parameters Date: Thu, 07 Oct 2021 20:40:53 +0000 [thread overview] Message-ID: <bug-61355-4-qqMWl4n5Eo@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61355-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61355 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Patrick Palka <ppalka@gcc.gnu.org>: https://gcc.gnu.org/g:fba228e259dd5112851527f2dbb62c5601100985 commit r12-4238-gfba228e259dd5112851527f2dbb62c5601100985 Author: Patrick Palka <ppalka@redhat.com> Date: Thu Oct 7 16:39:16 2021 -0400 c++: NTTP with array/function type after substitution [PR61355] We're performing the [temp.param]/10 adjustment at parse time but not also at substitution time. PR c++/61355 gcc/cp/ChangeLog: * pt.c (convert_template_argument): Perform array/function to pointer conversion on the substituted type of an NTTP. gcc/testsuite/ChangeLog: * g++.old-deja/g++.pt/nontype5.C: Adjust. * g++.dg/template/param6.C: New test.
next prev parent reply other threads:[~2021-10-07 20:40 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-29 13:34 [Bug c++/61355] New: " vanyacpp at gmail dot com 2021-08-12 1:45 ` [Bug c++/61355] " pinskia at gcc dot gnu.org 2021-08-12 1:45 ` pinskia at gcc dot gnu.org 2021-10-06 19:01 ` ppalka at gcc dot gnu.org 2021-10-07 20:40 ` cvs-commit at gcc dot gnu.org [this message] 2021-10-07 20:41 ` ppalka at gcc dot gnu.org 2021-10-10 11:13 ` vanyacpp at gmail dot com
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-61355-4-qqMWl4n5Eo@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).