https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107574
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[10/11/12/13 Regression] |[10/11/12/13 Regression] |ICE: tree check: expected |ICE: tree check in |record_type or union_type |cp_fold_convert with ptr to |or qual_union_type, have |member field cast inside a |integer_type in |class not completed and |cp_fold_convert, at |inherent |cp/cvt.cc:613 | --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note moving the static_assert outside of the class does not cause a crash.