https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124060

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-02-10
           Assignee|unassigned at gcc dot gnu.org      |sjames at gcc dot 
gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Sam James from comment #0)
>     /* Eventually this should become a hard error IMO.  */
>     warning (0, "command-line option %qs is valid for %s but not for %s",
>              text, ok_langs, bad_lang);
>   else

The fix here might just be warning (OPT_Wcomplain_wrong_lang, ...). I'll have a
look.

Reply via email to