summaryrefslogtreecommitdiff
path: root/gcc/omp-simd-clone.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/omp-simd-clone.c')
-rw-r--r--gcc/omp-simd-clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/omp-simd-clone.c b/gcc/omp-simd-clone.c
index f4bfcc8b8b8..76aea56bdcf 100644
--- a/gcc/omp-simd-clone.c
+++ b/gcc/omp-simd-clone.c
@@ -475,7 +475,7 @@ simd_clone_create (struct cgraph_node *old_node)
/* The method cgraph_version_clone_with_body () will force the new
symbol local. Undo this, and inherit external visibility from
the old node. */
- new_node->local.local = old_node->local.local;
+ new_node->local = old_node->local;
new_node->externally_visible = old_node->externally_visible;
return new_node;