https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115692

            Bug ID: 115692
           Summary: C++ module ice
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

Created attachment 58533
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58533&action=edit
preprocessor file

GCC ice for module.

cqwrteur@otsiningo:~/Libraries/fast_io/.tmp$ g++ -o hello
../modules/fast_io_core.ixx ../modules/fast_io_core_impl.cppm hello.cc -Ofast
-std=c++26 -fmodules-ts -I../include
In file included from
/home/cqwrteur/toolchains/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/include/c++/15.0.0/type_traits:38,
                 from ../modules/fast_io_core_impl.cppm:4:
/home/cqwrteur/toolchains/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/include/c++/15.0.0/x86_64-pc-linux-gnu/bits/c++config.h:836:11:
internal compiler error: in push_namespace, at cp/name-lookup.cc:9110
  836 | namespace __gnu_cxx
      |           ^~~~~~~~~
0x26b7008 internal_error(char const*, ...)
        ???:0
0xa9b9b4 fancy_abort(char const*, int, char const*)
        ???:0
0xca55aa c_parse_file()
        ???:0
0xdf61b1 c_common_parse_file()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
hello.cc: In function 'int main()':
hello.cc:5:48: error: 'posix_rtld_deepbind' is not a member of
'fast_io::dll_mode@fast_io.core'
    5 |     ::fast_io::dll_mode d{::fast_io::dll_mode::posix_rtld_deepbind};
      |                                                ^~~~~~~~~~~~~~~~~~~


here is the processor file

Reply via email to