OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* omp-low.c (create_omp_child_function): Set DECL_CONTEXT
[pf3gnuchains/gcc-fork.git]
/
gcc
/
omp-low.c
diff --git
a/gcc/omp-low.c
b/gcc/omp-low.c
index
3b99f69
..
3e6d91c
100644
(file)
--- a/
gcc/omp-low.c
+++ b/
gcc/omp-low.c
@@
-1577,6
+1577,7
@@
create_omp_child_function (omp_context *ctx, bool task_copy)
t = build_decl (RESULT_DECL, NULL_TREE, void_type_node);
DECL_ARTIFICIAL (t) = 1;
DECL_IGNORED_P (t) = 1;
+ DECL_CONTEXT (t) = decl;
DECL_RESULT (decl) = t;
t = build_decl (PARM_DECL, get_identifier (".omp_data_i"), ptr_type_node);