On Tue, Jun 3, 2025 at 9:16 PM Joseph Myers <josmy...@redhat.com> wrote: > > On Tue, 3 Jun 2025, Andrew Pinski wrote: > > > This is just a simple check to see if the flags like LangEnabledBy > > have the correct case. By putting everything into upper case and > > seeing if there is a match (if previously there was not a match). > > This would have caught PR 120078 much earlier. > > Tested both with and without the fix for PR 120078. > > I think checking all flags against a global list of valid flags would be > better than matching so specifically for the particular mistake in that > PR.
Agreed. We shouldn't silently ignore things that don't parse. Richard. > > -- > Joseph S. Myers > josmy...@redhat.com >