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.
---
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 4057d916c22..f7569e688a2 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);
--
2.34.1