From: Thomas Schwinge Date: Fri, 23 May 2014 11:23:49 +0000 (+0200) Subject: Remove duplicated variable initialization. X-Git-Tag: releases/gcc-5.1.0~7338 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3316c6dcea7a94fae90121a16dd4e6de4e4d94d;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index c21f68f3a5cf..5bee1cadd9f1 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,5 +1,8 @@ 2014-05-23 Thomas Schwinge + * 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 diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c index 6f4bd4afb6cf..74a5ebda5ac5 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 b9a22f96ff40..90ded5b0bd41 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,8 @@ 2014-05-23 Thomas Schwinge + * semantics.c (finish_omp_clauses): Remove duplicated variable + initialization. + * parser.c (cp_parser_omp_target): Return bool values. 2014-05-22 Paolo Carlini diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 7e144a6734c3..edab3309b361 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;