2019-02-01 Martin Jambor <mjambor@suse.cz>
PR hsa/87863
* omp-grid.c (grid_mark_variable_segment): Set assembler name of group
segment and global segment variables before making them static.
From-SVN: r268452
+2019-02-01 Martin Jambor <mjambor@suse.cz>
+
+ PR hsa/87863
+ * omp-grid.c (grid_mark_variable_segment): Set assembler name of group
+ segment and global segment variables before making them static.
+
2019-02-01 Martin Jambor <mjambor@suse.cz>
* omp-grid.c (grid_target_follows_gridifiable_pattern): Guard two
if (!TREE_STATIC (var))
{
TREE_STATIC (var) = 1;
+ const char *prefix = IDENTIFIER_POINTER (DECL_NAME (var));
+ SET_DECL_ASSEMBLER_NAME (var, create_tmp_var_name (prefix));
varpool_node::finalize_decl (var);
}