[llvm-bugs] [Bug 52250] New: clang crashes with -fopenmp

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 21 05:41:07 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=52250

            Bug ID: 52250
           Summary: clang crashes with -fopenmp
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hokein at google.com
                CC: llvm-bugs at lists.llvm.org

Test code:

```
struct a;
struct b {
  b(){delete c;} a *c;
};
```

reproduce command: 

./bin/clang -cc1 -fsyntax-only -fopenmp /tmp/t.cpp

The crash can be reproduced in llvm-11 or later. The bisect told that
https://reviews.llvm.org/D70172 is the culprit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211021/20e73065/attachment-0001.html>


More information about the llvm-bugs mailing list