public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Marek Polacek <polacek@redhat.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: C++ PATCH for c++/78244 - narrowing conversion in template not detected
Date: Wed, 16 Jan 2019 15:51:00 -0000	[thread overview]
Message-ID: <1e71c360-6a9c-4994-f605-89e5d463cae1@redhat.com> (raw)
In-Reply-To: <20190116123222.GI19569@redhat.com>

On 1/16/19 7:32 AM, Marek Polacek wrote:
> While looking into 88815, a 9 regression, I realized we'll have to fix 78244
> first.  This patch fixes one half of 78244.  The problem was that we never
> detected narrowing conversion in a template, because the IMPLICIT_CONV_EXPR
> template code doesn't have the information whether it was initialized by a
> braced-init-list.  This patch adds such a bit, which works much like
> IMPLICIT_CONV_EXPR_DIRECT_INIT.
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk?

OK.

Jason

      reply	other threads:[~2019-01-16 15:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16 12:32 Marek Polacek
2019-01-16 15:51 ` 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=1e71c360-6a9c-4994-f605-89e5d463cae1@redhat.com \
    --to=jason@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=polacek@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).