Crash in net/core/dev.c when assertions are enabled after commit 13cabc47f8ae #2039
Labels
[BUG] llvm
A bug that should be fixed in upstream LLVM
Compiler crash (assertions)
This bug makes Clang crash when assertions are enabled, emitting a backtrace
[FIXED][LLVM] 19
This bug was fixed in LLVM 19
After commit
13cabc47f8ae
("netdevice: define and allocate &net_device _properly_")
, which is now in mainline, I am seeing a crash when assertions are enabled in clang/LLVM that appears to be related to-fstrict-flex-arrays=3
.In this configuration, this is what I end up with for
struct net_device
after preprocessing:Unfortunately, while I caught this a few days ago, it took
cvise
three days to reducenet/core/dev.i
intoas a trivial reproducer:
cc @kees @bwendling
The text was updated successfully, but these errors were encountered: