diff options
author | Ben Cheng <bccheng@google.com> | 2013-08-05 15:18:29 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2013-08-05 16:03:48 -0700 |
commit | 32fce3edda831e36ee484406c39dffbe0230f257 (patch) | |
tree | 733b1b5398304b260a4ee3d5d9b17da5038c5486 /gcc-4.8/gcc/tree-parloops.c | |
parent | e85b9ca2afe8edbb9fa99c6ce2cc4e52dce18c21 (diff) | |
download | toolchain_gcc-32fce3edda831e36ee484406c39dffbe0230f257.tar.gz toolchain_gcc-32fce3edda831e36ee484406c39dffbe0230f257.tar.bz2 toolchain_gcc-32fce3edda831e36ee484406c39dffbe0230f257.zip |
[4.8] Merge GCC 4.8.1
Change-Id: Ic8a60b7563f5172440fd40788605163a0cca6e30
Diffstat (limited to 'gcc-4.8/gcc/tree-parloops.c')
-rw-r--r-- | gcc-4.8/gcc/tree-parloops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc-4.8/gcc/tree-parloops.c b/gcc-4.8/gcc/tree-parloops.c index 1729f2301..d7b846ae7 100644 --- a/gcc-4.8/gcc/tree-parloops.c +++ b/gcc-4.8/gcc/tree-parloops.c @@ -947,9 +947,9 @@ add_field_for_reduction (void **slot, void *data) struct reduction_info *const red = (struct reduction_info *) *slot; tree const type = (tree) data; - tree var = SSA_NAME_VAR (gimple_assign_lhs (red->reduc_stmt)); - tree field = build_decl (gimple_location (red->reduc_stmt), - FIELD_DECL, DECL_NAME (var), TREE_TYPE (var)); + tree var = gimple_assign_lhs (red->reduc_stmt); + tree field = build_decl (gimple_location (red->reduc_stmt), FIELD_DECL, + SSA_NAME_IDENTIFIER (var), TREE_TYPE (var)); insert_field_into_struct (type, field); |