------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-12 05:19 ------- 6496 /* Only operator new(...) throw(), can return NULL [expr.new/13]. */ 6497 if ((DECL_OVERLOADED_OPERATOR_P (current_function_decl) == NEW_EXPR 6498 || DECL_OVERLOADED_OPERATOR_P (current_function_decl) == VEC_NEW_EXPR) 6499 && !TYPE_NOTHROW_P (TREE_TYPE (current_function_decl)) 6500 && ! flag_check_new 6501 && null_ptr_cst_p (retval))
Confirmed, retval is NULL here. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-09-12 05:19:54 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29001