summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gimple.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c47f4cb3f16..857c7027de5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-04 Jeremie Salvucci <jeremie.salvucci@free.fr>
+
+ * gimple.c (gimple_body): Comments added.
+
2010-07-04 Richard Guenther <rguenther@suse.de>
PR middle-end/44809
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 2359e0e954a..fa5b8041ae9 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -1731,7 +1731,10 @@ gimple_set_body (tree fndecl, gimple_seq seq)
}
-/* Return the body of GIMPLE statements for function FN. */
+/* Return the body of GIMPLE statements for function FN. After the
+ CFG pass, the function body doesn't exist anymore because it has
+ been split up into basic blocks. In this case, it returns
+ NULL. */
gimple_seq
gimple_body (tree fndecl)