------- Comment #3 from jakub at gcc dot gnu dot org 2010-05-11 14:51 ------- That's a user bug. You shouldn't pass NULL to arguments declared nonnull. To quote gcc documentation: "The compiler may also choose to make optimizations based on the knowledge that certain function arguments will not be null."
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44081