Skip to content

[C++20] [Modules] Crash with inconsistent deduced type in two importing modules #78830

@gen740

Description

@gen740

I created a C++20 modules project incorporating STL libraries, ranges and OpenMP, but it suddenly crashes. I've set up a minimum reproduction project at gen740/InternalCompilerError. (I couldn't minimize the issue further!)

The error message can be found here:
https://github.com/gen740/InternalCompilerError/actions/runs/7592379101/job/20681666596#step:7:33

I also confirmed that this issue occurs in the HEAD branch. However, I can't reproduce it on Compiler Explorer at https://godbolt.org/z/h8M1sq5zc.

Metadata

Metadata

Assignees

Labels

clang:modulesC++20 modules and Clang Header ModulescrashPrefer [crash-on-valid] or [crash-on-invalid]

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions