public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [C++ PATCH] Fix deprecated attribute handling on templates (PR c++/93228)
Date: Fri, 17 Jan 2020 14:26:00 -0000	[thread overview]
Message-ID: <3e1fd145-3f01-c2e3-c260-c10752dfa82c@redhat.com> (raw)
In-Reply-To: <20200110202820.GZ10088@tucnak>

On 1/10/20 3:28 PM, Jakub Jelinek wrote:
> Hi!
> 
> As the following testcase shows, when deprecated attribute is on a template,
> we'd never print the message if any, because the attribute is not
> present on the TEMPLATE_DECL with which warn_deprecated_use is called,
> but on its DECL_TEMPLATE_RESULT or its type.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
> 
> 2020-01-10  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c++/93228
> 	* parser.c (cp_parser_template_name): Look up deprecated attribute
> 	in DECL_TEMPLATE_RESULT or its type's attributes.

OK.

Jason

      parent reply	other threads:[~2020-01-17 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10 20:44 Jakub Jelinek
2020-01-17 14:12 ` Patch ping (was Re: [C++ PATCH] Fix deprecated attribute handling on templates (PR c++/93228)) Jakub Jelinek
2020-01-17 14:26 ` 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=3e1fd145-3f01-c2e3-c260-c10752dfa82c@redhat.com \
    --to=jason@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    /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).