[Bug c++/119102] GCC 15.0 'import std;' fails with Ofast (not with O3) due to some openmp internal error

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119102

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Thomas Schwinge <[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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.