https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108980
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Thiago Macieira from comment #7) > The duplicate "note:" disappeared. But now there's no warning at all on the > same file, with the same options. Was that intended? Yes that was the intent of the patch. There is not supposed to be any warning here at all. It was a mistake that an note (inform call) was emitted in the first place.