This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r195392 - in /branches/cilkplus/gcc: ChangeLog....
- From: bviyer at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 22 Jan 2013 23:57:40 -0000
- Subject: r195392 - in /branches/cilkplus/gcc: ChangeLog....
Author: bviyer
Date: Tue Jan 22 23:57:40 2013
New Revision: 195392
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195392
Log:
fixed an infinite loop error in Cilk pragma grainsize.
+2013-01-22 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/grainsize_error1.c: New
+ test.
+
+2013-01-22 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c/c-parser.c (c_parser_cilk_grainsize): Added a function call to skip
+ to the end of pragma whenever an error occurred.
+
Added:
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/errors/grainsize_error1.c
Modified:
branches/cilkplus/gcc/ChangeLog.cilkplus
branches/cilkplus/gcc/c/c-parser.c
branches/cilkplus/gcc/testsuite/ChangeLog.cilkplus