diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-19 17:53:58 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-19 17:53:58 +0000 |
commit | f96dd70606f789a7982ed4fc70291444a1abc9c7 (patch) | |
tree | e941e9d3872b8da1472eb83529eb4f4677ae6331 /gcc/testsuite/ChangeLog | |
parent | 721f64bf120bb5e0466594a695fd7b475ceefeb7 (diff) | |
download | gcc-f96dd70606f789a7982ed4fc70291444a1abc9c7.tar.gz |
* langhooks.h (struct lang_hooks): Add new field deep_unsharing.
* langhooks-def.h (LANG_HOOKS_DEEP_UNSHARING): New macro.
(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_DEEP_UNSHARING.
* gimplify.c: (mostly_copy_tree_r): Copy trees under SAVE_EXPR and
TARGET_EXPR nodes, but only once, if instructed to do so. Do not
propagate the 'data' argument to copy_tree_r.
(copy_if_shared_r): Remove bogus ATTRIBUTE_UNUSED marker.
Propagate 'data' argument to walk_tree.
(copy_if_shared): New function.
(unmark_visited_r): Remove bogus ATTRIBUTE_UNUSED marker.
(unmark_visited): New function.
(unshare_body): Call copy_if_shared instead of doing it manually.
(unvisit_body): Call unmark_visited instead of doing it manually.
ada/
* gcc-interface/misc.c (LANG_HOOKS_DEEP_UNSHARING): Redefine.
* gcc-interface/trans.c (unshare_save_expr): Delete.
(gigi): Do not unshare trees under SAVE_EXPRs here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159592 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/ChangeLog')
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 84c0dd71d1b..dc5afe30b2e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-05-19 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/discr23.ad[sb]: New test. + * gnat.dg/discr23_pkg.ads: New helper. + + * gnat.dg/specs/controlled1.ads: New test. + * gnat.dg/specs/controlled1_pkg.ads: New helper. + 2010-05-19 Daniel Franke <franke.daniel@gmail.com> PR fortran/44055 |