| Issue |
183877
|
| Summary |
Clang Crash in LValue/ExprConstant on Malformed Array Initializer (trunk + assertion)
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
apbenson00
|
## Overview
- crash on invalid
- generated by fuzzer
- crashes both trunk and assertion builds
## Code
```
arr[;
arr[];
void func(){
int* ptr = arr-1;
}
```
## CompilerExplorer
https://godbolt.org/z/fq5scf5d1
## Notes
- Thought this was related to #170072, but that does not crash the non-assertion trunk build, unlike this code.
- Here is the godbolt for that issue: https://godbolt.org/z/a1bnMahrn
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs