| Issue |
243453
|
| Summary |
[clang] passing volatile object into own ellipsis constructor exhausts stack and crashes
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
Pedda1712
|
The following:
```c++
struct A {
A(...);
};
int main()
{
volatile A a;
volatile A a2(a);
}
```
results in a crash on trunk, and crashes all versions of clang available through godbolt. (https://godbolt.org/z/q31h6953a)
When running locally, I get the following trace:
[trace2.txt](https://github.com/user-attachments/files/34969868/trace2.txt)
**This test case was generated by a fuzzer.**
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs