https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- gcc_checking_assert (!TYPE_REF_P (TREE_TYPE (expr))); Yes that shows it explictly an assert which is only enabled with checking.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 03 Sep 2025 15:03:47 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- gcc_checking_assert (!TYPE_REF_P (TREE_TYPE (expr))); Yes that shows it explictly an assert which is only enabled with checking.