https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74762
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Looks like warn_uninit() suppresses the warning on 'i' because the TREE_NO_WARNING flag is set on the ARRAY_REF by the C++ FE (in finish_parenthesized_expr(), for an unrelated purpose).