On Wed, Mar 26, 2025 at 02:34:43PM -0400, David Malcolm wrote: Thanks for working on this. My python is very limited, so just adding some comments rather than doing patch review.
> +COMMON_MISSPELLINGS = {('dg_final', 'dg-final')} Does that catch just dg_final and not say dg_do or dg_error or dg-output_file ? I'd think a common misspelling would be any replacement of - with _ (maybe also omitting the - altogether). And I think Sam fixed some dg-compile or dg-run misspellings of dg-do compile or dg-do run. Does it have a list of valid dg-* directives and diagnose if it sees dg-invalid-directive? Jakub