]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: rename -fmodules-ts to -fmodules
authorJason Merrill <jason@redhat.com>
Mon, 14 Oct 2024 20:22:34 +0000 (16:22 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 11 Nov 2024 23:44:39 +0000 (18:44 -0500)
commitd9c3c3c85665b248c8a5e87898f4716ff646ed03
tree60b95f16aa941d357fa98d8113a76da8e974bfe0
parente3de2962cbac3fc7f1d7c6d0205a62e68f3f4b3a
c++: rename -fmodules-ts to -fmodules

The C++ modules support is not targeting the Modules TS, so it doesn't make
much sense to refer to the TS in the option name.  But keep the old spelling
as an undocumented alias for now.

gcc/ChangeLog:

* doc/invoke.texi: Rename -fmodules-ts to -fmodules.

gcc/c-family/ChangeLog:

* c.opt: Add -fmodules with same effect as -fmodules-ts.

gcc/cp/ChangeLog:

* lang-specs.h: Check fmodules* instead of fmodules-ts.
gcc/c-family/c.opt
gcc/cp/lang-specs.h
gcc/doc/invoke.texi