This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r178690 - in /branches/cilkplus/gcc: cp/ChangeL...
- From: hjl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 08 Sep 2011 13:45:41 -0000
- Subject: r178690 - in /branches/cilkplus/gcc: cp/ChangeL...
Author: hjl
Date: Thu Sep 8 13:45:40 2011
New Revision: 178690
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178690
Log:
Fix local Label inside Cilk_for.
---
gcc/cp/
2011-09-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
* parser.c (cp_parser_jump_statement): Removed "IN_CILK_FOR | " from
if (parser->in_statement & (IN_CILK_FOR | IN_CILK_SPAWN)).
gcc/testsuite/
2011-09-08 Balaji V. Iyer <balaji.v.iyer@intel.com>
* gcc.dg/cilk-plus/label_test.c: New.
* g++.dg/cilk-plus/label_test.cpp: New.
Added:
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/label_test.cpp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/label_test.c
Modified:
branches/cilkplus/gcc/cp/ChangeLog.cilk
branches/cilkplus/gcc/cp/parser.c
branches/cilkplus/gcc/testsuite/ChangeLog.cilk