- Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
Description
| Bugzilla Link | 49631 |
| Resolution | FIXED |
| Resolved on | Mar 29, 2021 16:44 |
| Version | unspecified |
| OS | Linux |
| Blocks | #48246 |
| Attachments | reproducer, 2nd reproducer |
| CC | @LebedevRI,@tianshilei1992,@tstellar |
| Fixed by commit(s) | 2df65f8 f43958b |
Extended Description
This is a regression from the llvm-11 release.
$ clang++ -fopenmp nthreads-plus-one.cpp
$ ./a.out
OMP: Error #131: Thread identifier invalid.
Aborted (core dumped)
$ clang++ -fopenmp mixed-threads.cpp
$ ./a.out
OMP: Error #13: Assertion failure at kmp_runtime.cpp(3676).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Aborted (core dumped)