[Bug debug/38101] New: dbxout_expand_expr() doesn't check return value of DECL_VALUE_EXPR()

2008-11-12 Thread d dot g dot gorbachev at gmail dot com
tree.c: tree decl_value_expr_lookup (tree from) { ... return NULL_TREE; } tree.h: #define DECL_VALUE_EXPR(NODE) \ (decl_value_expr_lookup (DECL_WRTL_CHECK (NODE))) dbxout.c: static rtx dbxout_expand_expr (tree expr) { switch (TREE_CODE (expr)) ... case PARM_DECL: if

Re: [Bug debug/38101] New: dbxout_expand_expr() doesn't check return value of DECL_VALUE_EXPR()

2008-11-12 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 12, 2008, at 8:11 PM, d dot g dot gorbachev at gmail dot com [EMAIL PROTECTED] wrote: tree.c: tree decl_value_expr_lookup (tree from) { ... return NULL_TREE; } tree.h: #define DECL_VALUE_EXPR(NODE) \ (decl_value_expr_lookup (DECL_WRTL_CHECK (NODE)))