This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to fix static init with () in a template (PR c++/84582)
- From: Marek Polacek <polacek at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 2 Mar 2018 19:20:39 +0100
- Subject: Re: C++ PATCH to fix static init with () in a template (PR c++/84582)
- Authentication-results: sourceware.org; auth=none
- References: <63560c5d-83e0-3ba5-123f-787b575577ef@redhat.com> <20180228143243.GP2995@redhat.com> <CADzB+2kjjNXCMkSgv2PO6QfrhmGKX+h9v4b+w61m+rpDfyz2nA@mail.gmail.com> <20180228211948.GA11663@redhat.com> <CADzB+2mi2ajUcRqGZb7LGRM2=YhXVU5sSUMUfEwVeA4DCCWCVw@mail.gmail.com> <20180301131725.GB16833@redhat.com> <CADzB+2nE2vcBYbkLqJTHBYMyFXJA_j1qRay+JZCMyp_OVf7KGQ@mail.gmail.com> <20180301214004.GG16833@redhat.com> <CADzB+2kgmi-hWUTGf9BRyMY_7zkAULo1nnV4LbM3bi=RaRnY1A@mail.gmail.com> <CADzB+2k6dmRgZN-7OewTJ=KOTAuo2XFOOGFkc=WBBUHxtQXiqg@mail.gmail.com>
On Fri, Mar 02, 2018 at 01:17:55PM -0500, Jason Merrill wrote:
> Actually, this is redundant; an expression can only be dependent if
> processing_template_decl. I'll fix.
Ah, that makes a lot of sense. Thanks,
Marek