On Wed, Apr 17, 2019 at 10:45 AM Marek Polacek <pola...@redhat.com> wrote: > > This fixes a recent P1. Here we were giving the "invalid use of incomplete > type" error, but "the operand of the decltype specifier is an unevaluated > operand" > and so the objects it names are not required to have a definition. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > 2019-04-17 Marek Polacek <pola...@redhat.com> > > PR c++/90124 - bogus error with incomplete type in decltype. > * typeck.c (build_class_member_access_expr): Check > cp_unevaluated_operand.
OK, thanks. Jason