[Bug c++/84492] [8 Regression] ICE with statement expression
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 21 17:06:00 GMT 2018
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));
More information about the Gcc-bugs
mailing list