fix pr68692: reinstantiate the copy of internal parameters
authorAditya Kumar <aditya.k7@samsung.com>
Thu, 21 Jan 2016 02:14:01 +0000 (02:14 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jan 2016 02:14:01 +0000 (02:14 +0000)
commit1d198f097b982b60d23465356a8f9abc32762d4c
tree4b62710a3bf44529085f6400662b4ea8e08c31b6
parentb920a047635c09df188279c02af1499a77e630f7
fix pr68692: reinstantiate the copy of internal parameters

Adding a testcase and reverting this patch:
[PATCH] remove parameter_rename_map

This map was used in the transition to the new scop detection: with the new scop
detection, we do not need this map anymore.

       * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
       Remove use of parameter_rename_map.
       (copy_def): Remove.
       (copy_internal_parameters): Remove.
       (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
       * sese.c (new_sese_info): Do not initialize parameter_rename_map.
       (free_sese_info): Do not free parameter_rename_map.
       (set_rename): Do not use parameter_rename_map.
       (rename_uses): Update call to set_rename.
       (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
       * sese.h (parameter_rename_map_t): Remove.
       (struct sese_info_t): Remove field parameter_rename_map.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r232659
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/sese.c
gcc/sese.h
gcc/testsuite/gfortran.dg/graphite/pr68692.f90 [new file with mode: 0644]