public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/38101]  New: dbxout_expand_expr() doesn't check return value of DECL_VALUE_EXPR()
@ 2008-11-13  4:12 d dot g dot gorbachev at gmail dot com
  2008-11-13  5:55 ` Andrew Thomas Pinski
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-11-13  4:12 UTC (permalink / raw)
  To: gcc-bugs

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 (DECL_HAS_VALUE_EXPR_P (expr))
        return dbxout_expand_expr (DECL_VALUE_EXPR (expr));
  ...
}


-- 
           Summary: dbxout_expand_expr() doesn't check return value of
                    DECL_VALUE_EXPR()
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot g dot gorbachev at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i386-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38101


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-38101-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-09-10 18:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-13  4:12 [Bug debug/38101] New: dbxout_expand_expr() doesn't check return value of DECL_VALUE_EXPR() d dot g dot gorbachev at gmail dot com
2008-11-13  5:55 ` Andrew Thomas Pinski
2008-11-13  5:57 ` [Bug debug/38101] " pinskia at gmail dot com
2008-11-13 19:22 ` pinskia at gcc dot gnu dot org
2008-11-14  1:48 ` d dot g dot gorbachev at gmail dot com
2008-11-19  4:38 ` d dot g dot gorbachev at gmail dot com
2008-11-29 13:09 ` [Bug pch/38101] " d dot g dot gorbachev at gmail dot com
     [not found] <bug-38101-4@http.gcc.gnu.org/bugzilla/>
2011-09-10 18:32 ` d.g.gorbachev at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).