http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631

--- Comment #4 from bviyer at gcc dot gnu.org ---
Author: bviyer
Date: Thu Jan  9 13:37:41 2014
New Revision: 206463

URL: http://gcc.gnu.org/viewcvs?rev=206463&root=gcc&view=rev
Log:
Fix for PR c++/59631.
+++ gcc/cp/ChangeLog
+2014-01-09  Balaji V. Iyer  <balaji.v.i...@intel.com>
+
+       PR c++/59631
+       * parser.c (cp_parser_postfix_expression): Added a new if-statement
+       and replaced an existing if-statement with else-if statement.
+       Changed an existing error message wording to match the one from the C
+       parser.
+

+++ gcc/testsuite/ChangeLog 
+2014-01-09  Balaji V. Iyer  <balaji.v.i...@intel.com>
+
+       PR c++/59631
+       * gcc.dg/cilk-plus/cilk-plus.exp: Removed "-fcilkplus" from flags list.
+       * g++.dg/cilk-plus/cilk-plus.exp: Likewise.
+       * c-c++-common/cilk-plus/CK/spawnee_inline.c: Replaced second dg-option
+       with dg-additional-options.
+       * c-c++-common/cilk-plus/CK/varargs_test.c: Likewise.
+       * c-c++-common/cilk-plus/CK/steal_check.c: Likewise.
+       * c-c++-common/cilk-plus/CK/spawner_inline.c: Likewise.
+       * c-c++-common/cilk-plus/CK/spawning_arg.c: Likewise.
+       * c-c++-common/cilk-plus/CK/invalid_spawns.c: Added a dg-options tag.
+       * c-c++-common/cilk-plus/CK/pr59631.c: New testcase.
+

gcc/c/ChangeLog
+2014-01-09  Balaji V. Iyer  <balaji.v.i...@intel.com>
+
+       PR c++/59631
+       * c-parser.c (c_parser_postfix_expression): Replaced consecutive if
+       statements with if-elseif statements.
+


Added:
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr59631.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/invalid_spawns.c
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawnee_inline.c
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawner_inline.c
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawning_arg.c
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/steal_check.c
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/varargs_test.c
    trunk/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp
    trunk/gcc/testsuite/gcc.dg/cilk-plus/cilk-plus.exp

Reply via email to