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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Blocks|55004                       |
   Last reconfirmed|                            |2026-08-11
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |wrong-code

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
  /* Deleting ptr to void is undefined behavior [expr.delete/3].  */
  if (VOID_TYPE_P (TREE_TYPE (type)))
    {
      if (complain & tf_warning)
        warning_at (exp_loc, OPT_Wdelete_incomplete,
                    "deleting %qT is undefined", type);
      doing_vec = 0;
    }


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
[Bug 55004] [meta-bug] constexpr issues

Reply via email to