https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99080

            Bug ID: 99080
           Summary: Add !TYPE_P assert to type_dependent_expression_p
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

As discussed here
<https://gcc.gnu.org/pipermail/gcc-patches/2021-February/564629.html>,
type_dependent_expression_p should not be called with a type argument.  An
assert would help shake out such cases.

Reply via email to