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

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
This assertion is failing, where rhs is a STMT_EXPR.

8000      /* There are only a few kinds of expressions that may have a type
8001         dependent on overload resolution.  */
8002      gcc_assert (TREE_CODE (rhs) == ADDR_EXPR
8003                  || TREE_CODE (rhs) == COMPONENT_REF
8004                  || is_overloaded_fn (rhs)
8005                  || (flag_ms_extensions && TREE_CODE (rhs) ==
FUNCTION_DECL));

Reply via email to