This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Remove stray line in c_parser_binary_expression


Bootstrapped/regtested on x86_64-linux, applying to trunk.

2015-04-28  Marek Polacek  <polacek@redhat.com>

	* c-parser.c (c_parser_binary_expression): Remove duplicate line.

diff --git gcc/c/c-parser.c gcc/c/c-parser.c
index f5e2ac2c..cc8a4e3 100644
--- gcc/c/c-parser.c
+++ gcc/c/c-parser.c
@@ -6370,11 +6370,10 @@ c_parser_binary_expression (c_parser *parser, struct c_expr *after,
       sp++;
       stack[sp].loc = binary_loc;
       stack[sp].expr = c_parser_cast_expression (parser, NULL);
       stack[sp].prec = oprec;
       stack[sp].op = ocode;
-      stack[sp].loc = binary_loc;
     }
  out:
   while (sp > 0)
     POP;
   return stack[0].expr;

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]