https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118033
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |xry111 at gcc dot gnu.org Resolution|--- |INVALID --- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Invalid per comment 2. You can define your own assert macro and use it if the standard one is not suitable, anyway. AFAIK many projects don't use the standard assert macro.