On 30/01/17 11:18, Thomas Schwinge wrote:
+static tree
+convert_from_firstprivate_pointer (tree var, bool is_ref, gimple_seq *gs)
+{
+ tree type = TREE_TYPE (var);
+ tree new_type = NULL_TREE;
+ tree tmp = NULL_TREE;
+ tree inner_type = NULL_TREE;
[...]/source-gcc/gcc/omp-low.c: In function 'tree_node*
convert_from_firstprivate_pointer(tree, bool, gimple**)':
[...]/source-gcc/gcc/omp-low.c:16515:8: warning: unused variable
'inner_type' [-Wunused-variable]
Fixed while bootstrapping gomp-4_0-branch with --enable-werror.
Thanks,
- Tom
Remove unused var in convert_from_firstprivate_int
2017-02-10 Tom de Vries <t...@codesourcery.com>
* omp-low.c (convert_from_firstprivate_int): Remove unused variable.
---
gcc/omp-low.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index bb2d1fa..0f79533 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -16531,7 +16531,6 @@ convert_from_firstprivate_int (tree var, bool is_ref, gimple_seq *gs)
tree type = TREE_TYPE (var);
tree new_type = NULL_TREE;
tree tmp = NULL_TREE;
- tree inner_type = NULL_TREE;
gcc_assert (TREE_CODE (var) == MEM_REF);
var = TREE_OPERAND (var, 0);