summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index 1afbd1a8fc7..75288e991cb 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -609,7 +609,7 @@ addresses_taken (tree stmt)
static inline tree
phi_nodes (const_basic_block bb)
{
- gcc_assert (!(bb->flags & BB_RTL));
+ gcc_assert (comprobe_bb_ok_rtl || !(bb->flags & BB_RTL));
if (!bb->il.tree)
return NULL;
return bb->il.tree->phi_nodes;
@@ -620,7 +620,7 @@ phi_nodes (const_basic_block bb)
static inline tree *
phi_nodes_ptr (basic_block bb)
{
- gcc_assert (!(bb->flags & BB_RTL));
+ gcc_assert (comprobe_bb_ok_rtl || !(bb->flags & BB_RTL));
return &bb->il.tree->phi_nodes;
}
@@ -631,7 +631,7 @@ set_phi_nodes (basic_block bb, tree l)
{
tree phi;
- gcc_assert (!(bb->flags & BB_RTL));
+ gcc_assert (comprobe_bb_ok_rtl || !(bb->flags & BB_RTL));
bb->il.tree->phi_nodes = l;
for (phi = l; phi; phi = PHI_CHAIN (phi))
set_bb_for_stmt (phi, bb);
@@ -711,7 +711,7 @@ phi_ssa_name_p (const_tree t)
static inline tree
bb_stmt_list (const_basic_block bb)
{
- gcc_assert (!(bb->flags & BB_RTL));
+ gcc_assert (comprobe_bb_ok_rtl || !(bb->flags & BB_RTL));
return bb->il.tree->stmt_list;
}
@@ -720,7 +720,7 @@ bb_stmt_list (const_basic_block bb)
static inline void
set_bb_stmt_list (basic_block bb, tree list)
{
- gcc_assert (!(bb->flags & BB_RTL));
+ gcc_assert (comprobe_bb_ok_rtl || !(bb->flags & BB_RTL));
bb->il.tree->stmt_list = list;
}