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

            Bug ID: 45476
           Summary: _Atomic struct can hang compiler
           Product: new-bugs
           Version: 9.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: vtjn...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org

Running this:
```
$ clang-9 -x c++ -S - -std=c++11
typedef signed char int8_t;
struct i8_3 {
    int8_t a;
    int8_t b;
    int8_t c;
};

_Atomic struct i8_3 a;
void jwn1() {
    a = i8_3{1, 2, 3};
}

int8_t jwn2() {
    return a.a + a.b + a.c;
}
```
The compile never finishes. Possibly similar to #14442?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to