aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-08-11 09:15:19 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-08-11 09:15:19 +0000
commit8b70d6d6fd9a46a04e04259f21492dd1092a5cc9 (patch)
tree59f2e280c689177fd2af9682e2b716aa7b7e1e48
parentfd91ffb8051c3a99b8fdffa1c6234f9f884fce1c (diff)
downloadgcc-8b70d6d6fd9a46a04e04259f21492dd1092a5cc9.zip
gcc-8b70d6d6fd9a46a04e04259f21492dd1092a5cc9.tar.gz
gcc-8b70d6d6fd9a46a04e04259f21492dd1092a5cc9.tar.bz2
Add todo comment for move_sese_region_to_fn
2015-08-11 Tom de Vries <tom@codesourcery.com> * tree-cfg.c (move_sese_region_to_fn): Add todo comment. From-SVN: r226776
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-cfg.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8025902..65dd0fc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-11 Tom de Vries <tom@codesourcery.com>
+
+ * tree-cfg.c (move_sese_region_to_fn): Add todo comment.
+
2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (processor_alias_table): Replace CPU_KNL
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index e26454a..588ab69 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -7011,7 +7011,11 @@ verify_sese (basic_block entry, basic_block exit, vec<basic_block> *bbs_p)
All local variables referenced in the region are assumed to be in
the corresponding BLOCK_VARS and unexpanded variable lists
- associated with DEST_CFUN. */
+ associated with DEST_CFUN.
+
+ TODO: investigate whether we can reuse gimple_duplicate_sese_region to
+ reimplement move_sese_region_to_fn by duplicating the region rather than
+ moving it. */
basic_block
move_sese_region_to_fn (struct function *dest_cfun, basic_block entry_bb,