This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix unused variable.
- From: James Norris <jnorris at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Nov 2015 17:25:26 -0600
- Subject: [PATCH] Fix unused variable.
- Authentication-results: sourceware.org; auth=none
Hi,
As a result of an unused variable from my patch
of today, it broke bootstrap. Dominique kindly
pointed this out. Thank you.
Committed to trunk as obvious.
Jim
Index: gcc/cp/ChangeLog
===================================================================
--- gcc/cp/ChangeLog (revision 230275)
+++ gcc/cp/ChangeLog (working copy)
@@ -1,4 +1,8 @@
2015-11-12 James Norris <jnorris@codesourcery.com>
+
+ * parser.c (cp_parser_oacc_declare): Remove unused.
+
+2015-11-12 James Norris <jnorris@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* parser.c (cp_parser_omp_clause_name): Handle 'device_resident'
Index: gcc/cp/parser.c
===================================================================
--- gcc/cp/parser.c (revision 230275)
+++ gcc/cp/parser.c (working copy)
@@ -34562,7 +34562,7 @@
static tree
cp_parser_oacc_declare (cp_parser *parser, cp_token *pragma_tok)
{
- tree clauses, stmt, t;
+ tree clauses, stmt;
bool error = false;
clauses = cp_parser_oacc_all_clauses (parser, OACC_DECLARE_CLAUSE_MASK,