-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Closed
Labels
c++clang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header ModulescrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]libstdc++GNU libstdc++ C++ standard libraryGNU libstdc++ C++ standard libraryneeds-reductionLarge reproducer that should be reduced into a simpler formLarge reproducer that should be reduced into a simpler form
Description
The project attempted to compile are there. Version of Clang: the latest one from the Arch Linux repo, 19.1.7-1. It seems to be a frontend bug as determined by instructions in the Submitting Bug Report guide. Clang complains about inability to produce code for std::__do_visit for variant visitation. Latest g++ refuses to compile the code, complaining about an invalid template parameter, which in turn defines some method with such. Latest MSVC compiles the given code and it seems to run.
As asked, additional files attached, but the problem seems reproducible at least across my PC's: tmp.zip.
P. S. Originally issue was seen on this specific commit. Have made a reduced version there.
Metadata
Metadata
Assignees
Labels
c++clang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header ModulescrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]libstdc++GNU libstdc++ C++ standard libraryGNU libstdc++ C++ standard libraryneeds-reductionLarge reproducer that should be reduced into a simpler formLarge reproducer that should be reduced into a simpler form