The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
28.39k
stars
11.73k
forks
source link
[clang++] Assertion `Arg < getNumArgs() && "Arg access out of range!"' failed. #111695
Open
yijan4845 opened 2 hours ago
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/5rc651coh
This code will crash on both Clang Trunk and Clang Assertion Trunk, it seems that this goes back to clang-12:
I'm not sure if it's valid but this can be compiled through gcc.
Stack dump: