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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eyal Rozenberg from comment #0)
> This restriction is, to my mind, counter-intuitive and useless. The language
> names _are_, after all, in upper case; users are likely to assume the
> uppercase version is acceptable; and the code even knows this, being already
> able to map the uppercase variant to the lowercase one.

I think you're assuming there's some specific code to deal the uppercase form,
but it just looks for a close match and suggests it. You get the same for other
mispellings:

gcc: error: unrecognized command-line option ‘-std=p99’; did you mean
‘-std=c99’?
gcc: error: unrecognized command-line option ‘-std=T99’; did you mean
‘-std=c99’?

Reply via email to