Skip to content

[OpenMP] clang++: /root/llvm-project/llvm/include/llvm/ADT/APSInt.h:99: int64_t llvm::APSInt::getExtValue() const: Assertion `isRepresentableByInt64() && "Too many bits for int64_t"' failed. #138445

Closed
@k-arrows

Description

@k-arrows

Reproducible on Godbolt:
https://godbolt.org/z/477nWWrb4

void f(void) {
#pragma omp simd collapse(0xFFFFFFFFFFFFFFFF)
  for (int i = 0; i < 10; i++)
    ;
}

Metadata

Metadata

Assignees

Labels

clang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:openmpOpenMP related changes to ClangcrashPrefer [crash-on-valid] or [crash-on-invalid]good first issuehttps://github.com/llvm/llvm-project/contribute

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions