This is the mail archive of the
mailing list for the GCC project.
Re: [C++] DEFERRED_PARSE
- From: Marek Polacek <polacek at redhat dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: Jason Merrill <jason at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 17 Jul 2019 14:17:50 -0400
- Subject: Re: [C++] DEFERRED_PARSE
- References: <firstname.lastname@example.org>
On Mon, Jul 08, 2019 at 08:25:25AM -0400, Nathan Sidwell wrote:
> Jason, Marek,
> can DEFERRED_PARSE trees survive past the in-class-context late parsing
> stage? My assumption was not, but in reducing a module testcase I
> encountered a situation when one survived to end of compilation (with no
> errors). It was an exception specifier on a declared-but-not-defined
> template member function.
> Is my assumption incorrect? (I can of course further reduce the testcase,
> if needed.)
I think that should be fine. I guess we can treat it similarly to
DEFERRED_NOEXCEPT. At least I haven't seen that it broke anything.