aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-05-23 13:23:49 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2014-05-23 13:23:49 +0200
commitf3316c6dcea7a94fae90121a16dd4e6de4e4d94d (patch)
tree0a985a43d30937f30ca2aec3061a3dd5c87bc26c /gcc
parenta5a5434f7b594a05a910fdee97ca569cc318a221 (diff)
downloadgcc-f3316c6dcea7a94fae90121a16dd4e6de4e4d94d.zip
gcc-f3316c6dcea7a94fae90121a16dd4e6de4e4d94d.tar.gz
gcc-f3316c6dcea7a94fae90121a16dd4e6de4e4d94d.tar.bz2
Remove duplicated variable initialization.
gcc/c/ * c-typeck.c (c_finish_omp_clauses): Remove duplicated variable initialization. gcc/cp/ * semantics.c (finish_omp_clauses): Remove duplicated variable initialization. From-SVN: r210853
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c/ChangeLog3
-rw-r--r--gcc/c/c-typeck.c2
-rw-r--r--gcc/cp/ChangeLog3
-rw-r--r--gcc/cp/semantics.c2
4 files changed, 8 insertions, 2 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index c21f68f..5bee1ca 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,5 +1,8 @@
2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
+ * c-typeck.c (c_finish_omp_clauses): Remove duplicated variable
+ initialization.
+
* c-parser.c (c_parser_omp_target): Return bool values.
2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c
index 6f4bd4a..74a5ebd 100644
--- a/gcc/c/c-typeck.c
+++ b/gcc/c/c-typeck.c
@@ -11762,7 +11762,7 @@ c_finish_omp_clauses (tree clauses)
{
bitmap_head generic_head, firstprivate_head, lastprivate_head;
bitmap_head aligned_head;
- tree c, t, *pc = &clauses;
+ tree c, t, *pc;
bool branch_seen = false;
bool copyprivate_seen = false;
tree *nowait_clause = NULL;
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b9a22f9..90ded5b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,8 @@
2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
+ * semantics.c (finish_omp_clauses): Remove duplicated variable
+ initialization.
+
* parser.c (cp_parser_omp_target): Return bool values.
2014-05-22 Paolo Carlini <paolo.carlini@oracle.com>
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 7e144a6..edab330 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -5222,7 +5222,7 @@ finish_omp_clauses (tree clauses)
{
bitmap_head generic_head, firstprivate_head, lastprivate_head;
bitmap_head aligned_head;
- tree c, t, *pc = &clauses;
+ tree c, t, *pc;
bool branch_seen = false;
bool copyprivate_seen = false;