Hi Richard,

We have several lazy builtin Decls (for ObjC decls, va_list, etc.) that might 
get filled in when we desugar a type for the ODR diagnostics, and these may 
deserialize more content from a module when they lookup an IdentifierInfo, 
leading to trying to emit a diagnostic while a diagnostic is already in flight. 
 My patch fixes the specific issue I ran into with the ODR diagnostics, but it 
seems like there may be a more general problem that filling in these lazy 
builtins may not be safe during diagnostic printing.  Any thoughts?

Ben

Attachment: odr-diag-error.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to