Mercurial > hg > CbC > CbC_gcc
diff gcc/tree-ssa-live.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/tree-ssa-live.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/tree-ssa-live.h Tue Mar 22 17:18:12 2011 +0900 @@ -1,5 +1,6 @@ /* Routines for liveness in SSA trees. - Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2007, 2008, 2010 + Free Software Foundation, Inc. Contributed by Andrew MacLeod <amacleod@redhat.com> This file is part of GCC. @@ -144,7 +145,6 @@ { int part; - gcc_assert (TREE_CODE (var) == SSA_NAME); part = partition_find (map->var_partition, SSA_NAME_VERSION (var)); if (map->partition_to_view) part = map->partition_to_view[part]; @@ -172,8 +172,8 @@ static inline int basevar_index (var_map map, int partition) { - gcc_assert (partition >= 0 - && partition <= (int) num_var_partitions (map)); + gcc_checking_assert (partition >= 0 + && partition <= (int) num_var_partitions (map)); return map->partition_to_base_index[partition]; } @@ -271,7 +271,7 @@ static inline int partition_is_global (tree_live_info_p live, int p) { - gcc_assert (live->global); + gcc_checking_assert (live->global); return bitmap_bit_p (live->global, p); } @@ -282,9 +282,9 @@ static inline bitmap live_on_entry (tree_live_info_p live, basic_block bb) { - gcc_assert (live->livein); - gcc_assert (bb != ENTRY_BLOCK_PTR); - gcc_assert (bb != EXIT_BLOCK_PTR); + gcc_checking_assert (live->livein + && bb != ENTRY_BLOCK_PTR + && bb != EXIT_BLOCK_PTR); return live->livein[bb->index]; } @@ -296,9 +296,9 @@ static inline bitmap live_on_exit (tree_live_info_p live, basic_block bb) { - gcc_assert (live->liveout); - gcc_assert (bb != ENTRY_BLOCK_PTR); - gcc_assert (bb != EXIT_BLOCK_PTR); + gcc_checking_assert (live->liveout + && bb != ENTRY_BLOCK_PTR + && bb != EXIT_BLOCK_PTR); return live->liveout[bb->index]; } @@ -319,8 +319,7 @@ static inline void live_merge_and_clear (tree_live_info_p live, int p1, int p2) { - gcc_assert (live->livein[p1]); - gcc_assert (live->livein[p2]); + gcc_checking_assert (live->livein[p1] && live->livein[p2]); bitmap_ior_into (live->livein[p1], live->livein[p2]); bitmap_zero (live->livein[p2]); }