This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r195764 - in /branches/cilkplus/gcc: ChangeLog....
- From: bviyer at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 05 Feb 2013 18:46:29 -0000
- Subject: r195764 - in /branches/cilkplus/gcc: ChangeLog....
Author: bviyer
Date: Tue Feb 5 18:46:26 2013
New Revision: 195764
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195764
Log:
Fixed a couple bugs.
+++ gcc/ChangeLog.cilkplus
+2013-02-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * cilk.c (output_zca_table): Defined the integer size to a hard number.
+ * c/c-typeck.c (convert_arguments): Added a check for function being
+ not null.
+ * c/c-parser.c (c_parser_cilk_grainsize): Added a check for the tree
+ C_MAYBE_CONST_EXPR. If so, then reject the grainsize. Also, convert
+ the grainsize to long signed int.
+
+++ gcc/c-family/ChangeLog.cilkplus
+2013-02-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c-cilk.c (extract_for_fields): Added a check if the increment value
+ is a constant and if it is less than zero. If so, then don't go into
+ the body of the if-statement.
+
+++ gcc/testsuite/ChangeLog.cilkplus
+2013-02-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/no_args_error.c: New test.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/wraparound.c: Likewise.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/grainsize_error3.c:
+ Likewise.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/grainsize_error2.c:
+ Likewise.
+
Modified:
branches/cilkplus/gcc/ChangeLog.cilkplus
branches/cilkplus/gcc/c-family/ChangeLog.cilkplus
branches/cilkplus/gcc/c-family/c-cilk.c
branches/cilkplus/gcc/c/c-parser.c
branches/cilkplus/gcc/c/c-typeck.c
branches/cilkplus/gcc/cilk.c
branches/cilkplus/gcc/testsuite/ChangeLog.cilkplus