https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104680
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Wduplicated-branches only currently works for the a && a case and not the if (a) if (a) case. Maybe this could be done by the analyzer instead.