From: Jason Merrill <jason@redhat.com>
To: Dodji Seketeli <dodji@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] PR c++/55663 - constexpr function templ instantiation considered non-const as alias templ arg
Date: Wed, 09 Jan 2013 16:17:00 -0000 [thread overview]
Message-ID: <50ED9814.7060509@redhat.com> (raw)
In-Reply-To: <87lic2tn4y.fsf@redhat.com>
On 01/09/2013 10:02 AM, Dodji Seketeli wrote:
> As the argument 'the_truth<T>()' we care about is type dependant,
> uses_template_parms returns true and so convert_nontype_argument is
> never called.
Right, but we should call it for the instantiated argument, too. We do
that for class templates by calling lookup_template_class again, which
calls coerce_template_parms. We need to make sure we call
coerce_template_parms when instantiating alias templates, too.
Jason
prev parent reply other threads:[~2013-01-09 16:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 13:58 Dodji Seketeli
2013-01-08 16:44 ` Gabriel Dos Reis
2013-01-09 15:31 ` Dodji Seketeli
2013-01-09 16:14 ` Gabriel Dos Reis
2013-01-10 15:22 ` Dodji Seketeli
2013-01-10 16:02 ` Gabriel Dos Reis
2013-01-11 10:41 ` Dodji Seketeli
2013-01-11 10:47 ` Jakub Jelinek
2013-01-11 11:31 ` Dodji Seketeli
2013-01-10 16:11 ` Gabriel Dos Reis
2013-01-10 17:01 ` Jason Merrill
2013-01-11 10:38 ` Dodji Seketeli
2013-01-11 14:53 ` Jason Merrill
2013-01-11 16:33 ` Dodji Seketeli
2013-01-14 14:09 ` Jason Merrill
2013-01-08 19:53 ` Jason Merrill
2013-01-09 15:03 ` Dodji Seketeli
2013-01-09 16:17 ` Jason Merrill [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=50ED9814.7060509@redhat.com \
--to=jason@redhat.com \
--cc=dodji@redhat.com \
--cc=gcc-patches@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: link
Be 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).