diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01f41a23c03..7f83e7ed73f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-07 Kazu Hirata + + * tree-flow-inline.h (phi_nodes): Remove an unnecessary check + for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. + 2004-10-07 Geoffrey Keating Radar 3813796 diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 61ed11268f7..050792176fc 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -363,8 +363,6 @@ bb_ann (basic_block bb) static inline tree phi_nodes (basic_block bb) { - if (bb->index < 0) - return NULL; return bb_ann (bb)->phi_nodes; }