https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114776
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So g_assertion_message can actually return in one case. https://github.com/GNOME/glib/blob/81eaabb30803b0e30edca888772f7459fa389650/glib/gtestutils.c#L3305 So yes this is a valid warning.