[gcc r17-2647] openmp, c++: Fix up OpenMP/OpenACC handling in C++ modules [PR119102]: Update 'module_state' comment
Thomas Schwinge via Gcc-cvs <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:eacad754773af0c4146ef6e215b15048e8810ac7 commit r17-2647-geacad754773af0c4146ef6e215b15048e8810ac7 Author: Thomas Schwinge <[email protected]> Date: Thu Jul 23 00:31:15 2026 +0200 openmp, c++: Fix up OpenMP/OpenACC handling in C++ modules [PR119102]: Update 'module_state' comment for 'SE_BITS' change Minor fix-up for commit ddeb70548c81f5dba91f281290584698897151d8 "openmp, c++: Fix up OpenMP/OpenACC handling in C++ modules [PR119102]", which did: enum streamed_extensions { - SE_OPENMP = 1 << 0, - SE_BITS = 1 + SE_OPENMP_SIMD = 1 << 0, + SE_OPENMP = 1 << 1, + SE_OPENACC = 1 << 2, + SE_BITS = 3 }; ..., but didn't update the documentary use of 'SE_BITS' in 'module_state'. PR c++/119102 gcc/cp/ * module.cc (module_state): Update comment for 'SE_BITS' change. Diff: --- gcc/cp/module.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc index 4057d916c227..f7569e688a26 100644 --- a/gcc/cp/module.cc +++ b/gcc/cp/module.cc @@ -3805,7 +3805,7 @@ class GTY((chain_next ("%h.parent"), for_user)) module_state { bool visited_p : 1; /* A walk-once flag. */ /* Record extensions emitted or permitted. */ unsigned extensions : SE_BITS; - /* 14 bits used, 2 bits remain */ + /* 16 bits used, 0 bits remain. */ public: module_state (tree name, module_state *, bool);