Issue 129844
Summary Miscompile with C++23 constexpr-unknown constant evaluation
Labels clang:codegen, miscompilation, c++23
Assignees
Reporter efriedma-quic
    Testcase:

```
int &ff();
int &x = ff();
struct A { int& x; };
struct B { A x[20]; };
B f() { return {x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x}; }
```

This is synthetic; I have no idea how likely it is for anyone to actually run into this.  Filing as a followup to discussion on #128409.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to