This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to remove -fdeduce-init-list
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>, Nathan Sidwell <nathan at acm dot org>
- Date: Tue, 3 Sep 2019 21:01:31 -0400
- Subject: Re: C++ PATCH to remove -fdeduce-init-list
- References: <20190904005254.GU14737@redhat.com>
On Tue, Sep 03, 2019 at 08:52:54PM -0400, Marek Polacek wrote:
> As I recently threatened, it's time we let -fdeduce-init-list go.
> This patch removes the implementation while keeping the option for
> backward compatibility.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2019-09-03 Marek Polacek <polacek@redhat.com>
>
> * c.opt (fdeduce-init-list): Ignored.
>
> * call.c (build_over_call): Remove -fdeduce-init-list implementation.
> * pt.c (unify): Likewise.
>
> * doc/invoke.texi: Remove -fdeduce-init-list documentation.
>
> * g++.dg/cpp0x/initlist-deduce.C: New test.
The test isn't new, I'll fix the CL entry.
Marek