| Issue |
124222
|
| Summary |
[clang-cl] clang-cl stuck when compiling such code with /EHa
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
regomne
|
```c++
struct S
{
~S() {}
};
class ClassA
{
public:
int foo(int, int);
};
int ClassA::foo(int a, int b)
{
if (a > 0)
{
}
if (b & 0)
{
}
S s;
return 0;
}
```
Clang version: 18.1.8
Compile the above code in Windows with:
```
clang-cl /c /EHa a.cpp
```
may causes the clang-cl.exe stuck with a probability of 80%.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs