[cfe-dev] Clang segfaults in Linux kernel source code

Daniel Dunbar daniel at zuster.org
Fri Jul 18 13:53:18 PDT 2008


Hi Martin,

Thanks for the report, I'll minimize and file a bug shortly...

 - Daniel



----- Original Message ----
From: Martin Doucha <next_ghost at quick.cz>
To: cfe-dev at cs.uiuc.edu
Sent: Friday, July 18, 2008 12:42:03 PM
Subject: [cfe-dev] Clang segfaults in Linux kernel source code

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




More information about the cfe-dev mailing list