gimple.h (gimplify_body): Remove first argument.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 11 Jan 2012 18:50:54 +0000 (18:50 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 11 Jan 2012 18:50:54 +0000 (18:50 +0000)
commit3ad065efe1afb5f3fdb60be75416ca9af94b67b0
treed55ae118d14b55279f3b6aacc5630ae86753ef28
parent2cd8b32cb96515850469a49bbba1a3a5a147dbad
gimple.h (gimplify_body): Remove first argument.

* gimple.h (gimplify_body): Remove first argument.
* gimplify.c (copy_if_shared): Add DATA argument.  Do not create the
pointer set here, instead just pass DATA to walk_tree.
(unshare_body): Remove BODY_P argument and adjust.  Create the pointer
set here and invoke copy_if_shared on the size trees of DECL_RESULT.
(unvisit_body): Likewise, but with unmark_visited.
(gimplify_body): Remove BODY_P argument and adjust.
(gimplify_function_tree): Adjust call to gimplify_body.
* omp-low.c (finalize_task_copyfn): Likewise.

From-SVN: r183104
gcc/ChangeLog
gcc/gimple.h
gcc/gimplify.c
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/array19.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array19.ads [new file with mode: 0644]