OK.

On Sun, Mar 4, 2018 at 8:55 PM, Paolo Carlini <paolo.carl...@oracle.com> wrote:
> Hi,
>
> a rather simple ice on invalid (not sure why only P4 given that no
> meaningful diagnostic is emitted before ICEing). What happens is that the
> ill-formed capture naming b, an OVERLOAD, escapes the early check in
> cp_parser_lambda_introducer to eventually trigger a recently added
> gcc_assert in build_capture_proxy. Adjusting the check means we also provide
> slightly clearer (IMO, matching clang, anyway) error messages for two
> testcases we already have.
>
> Tested x86_64-linux.
>
> Thanks, Paolo.
>
> ///////////////////////////////////////
>

Reply via email to