https://gcc.gnu.org/g:b71a289bd9cac5716f426272a3fbddde00d11a5b
commit r16-5580-gb71a289bd9cac5716f426272a3fbddde00d11a5b Author: Jason Merrill <[email protected]> Date: Tue Nov 18 22:30:06 2025 +0530 c++: modules documentation tweak The comment about P1815 not being implemented is obsolete since Nathaniel's work starting with r15-6378. gcc/ChangeLog: * doc/invoke.texi (C++ Modules): Remove TU-local caveat. Diff: --- gcc/doc/invoke.texi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b1e6d7037023..284b9f4e802f 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -38640,12 +38640,6 @@ reverse is not implemented---textually redefining an entity that has been defined in an imported header-unit. A redefinition error is emitted. -@item Translation-Unit local referencing rules -Papers p1815 (@uref{https://wg21.link/p1815}) and p2003 -(@uref{https://wg21.link/p2003}) add limitations on which entities an -exported region may reference (for instance, the entities an exported -template definition may reference). These are not fully implemented. - @item Standard Library Header Units The Standard Library is not provided as importable header units. If you want to import such units, you must explicitly build them first. @@ -38657,7 +38651,7 @@ affected by how you partition header files into header units. Modular compilation is @emph{not} enabled with just the @option{-std=c++20} option. You must explicitly enable it with the -@option{-fmodules-ts} option. It is independent of the language +@option{-fmodules} option. It is independent of the language version selected, although in pre-C++20 versions, it is of course an extension.
