https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88337
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Patch posted: https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00650.html For the typeid case, it seems that all that needs to be done is to resolve 356 /* FIXME when integrating with c_fully_fold, mark 357 resolves_to_fixed_type_p case as a non-constant expression. */ 358 if (TYPE_POLYMORPHIC_P (TREE_TYPE (exp)) 359 && ! resolves_to_fixed_type_p (exp, &nonnull) 360 && ! nonnull)