Re: [PATCH] opt: Detect the wrong case of flags option

2025-06-04 Thread Richard Biener
On Tue, Jun 3, 2025 at 9:16 PM Joseph Myers 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

Re: [PATCH] opt: Detect the wrong case of flags option

2025-06-03 Thread Joseph Myers
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. > Te

[PATCH] opt: Detect the wrong case of flags option

2025-06-03 Thread Andrew Pinski
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. g