summaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-10-03 21:28:09 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-10-03 21:28:09 +0200
commit32001f69b9db91182b382495c41c316bedb7e5cc (patch)
tree0030be35865c335cfb3fd28ce1162acf7dcfee23 /gcc/gimple.h
parent524d9a4532011e74366a8aa3549e4322ee2d75e2 (diff)
downloadgcc-32001f69b9db91182b382495c41c316bedb7e5cc.tar.gz
gimplify.c (gimplify_function_tree): For -finstrument-functions use gimple_bind_{,set_}block instead of...
* gimplify.c (gimplify_function_tree): For -finstrument-functions use gimple_bind_{,set_}block instead of gimple_{,set_}block. * gimple.h (gimple_bind_set_block): Allow second argument to be NULL. From-SVN: r140858
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index a390590d705..a6947c33405 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -2602,7 +2602,7 @@ static inline void
gimple_bind_set_block (gimple gs, tree block)
{
GIMPLE_CHECK (gs, GIMPLE_BIND);
- gcc_assert (TREE_CODE (block) == BLOCK);
+ gcc_assert (block == NULL_TREE || TREE_CODE (block) == BLOCK);
gs->gimple_bind.block = block;
}