Hi,
clang segfaults when parsing mm/slab.c from Linux kernel. The segfault happens in lib/AST/ASTContext.cpp on line 379 because ATy is NULL when parsing initialization of global structure instance using GCC extension. Sample input (shortened mm/slab.c) and backtrace is included in the attachment.
Regards,
Martin Doucha
crash.zip (7.91 KB)