https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92857
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Known to fail| |9.2.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think the warning is about foo - bar being carried out in type 'int' due to integer promotion and that converted to size_t which may turn the negative result into a positive.