fold-const.c (tree_expr_nonzero_p): Use get_base_address before assuming an ADDR_EXPR...
authorRichard Henderson <rth@redhat.com>
Mon, 30 Aug 2004 18:16:31 +0000 (11:16 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 30 Aug 2004 18:16:31 +0000 (11:16 -0700)
commit88f1975682abfbb86e5e2807ef7225fe6ce177fc
treeb7a95305df70ea17c17b95c7ffb5076a545bbf16
parentb6e9851af8002d984ae10a8ff8c36d7a113f0a51
fold-const.c (tree_expr_nonzero_p): Use get_base_address before assuming an ADDR_EXPR is non-null.

        * fold-const.c (tree_expr_nonzero_p): Use get_base_address before
        assuming an ADDR_EXPR is non-null.
cp/
        * class.c (fixed_type_or_null): Use get_base_address before
        assuming an ADDR_EXPR is non-null.

From-SVN: r86788
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/fold-const.c