https://gcc.gnu.org/g:aac9489c562a0874993f286a77ab93ae16a6abaf

commit aac9489c562a0874993f286a77ab93ae16a6abaf
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 0066fce49f5f..f3b4798c229c 100644
--- a/gcc/cp/module.cc
+++ b/gcc/cp/module.cc
@@ -3800,7 +3800,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);

Reply via email to