https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379
--- Comment #10 from rguenther at suse dot de <rguenther at suse dot de> --- On Tue, 8 Feb 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 > > Jakub Jelinek <jakub at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Summary|[9/10/11/12 Regression] |[9/10/11 Regression] > |-Wshadow warning given |-Wshadow warning given > |three times |three times > > --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Fixed on the trunk so far. > > Note, GCC 11 and older doesn't have the warning-control.c* infrastructure, so > all we could do there is TREE_NO_WARNING. Or warn from a place that doesn't visit this IL N times?