aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog.cilkplus
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/ChangeLog.cilkplus')
-rw-r--r--gcc/cp/ChangeLog.cilkplus34
1 files changed, 34 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog.cilkplus b/gcc/cp/ChangeLog.cilkplus
index d2cbd5440ce..1da5e1a3c91 100644
--- a/gcc/cp/ChangeLog.cilkplus
+++ b/gcc/cp/ChangeLog.cilkplus
@@ -1,3 +1,37 @@
+2013-04-19 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * cp-array-notation.c (fix_builtin_array_notation_fn): Fixed a bug of
+ switching the true and false condition in array notation reduction
+ functions.
+ (fix_unary_array_notation_exprs): Replaced appending to statement lists
+ with pushing and popping of statements along with add statement.
+ (build_x_array_notation_expr): Added a check for array notation length
+ mismatch. Also added a check for CALL_EXPR.
+ (length_mismatch_in_expr_p): New function.
+ (fix_builtin_array_notation_fn): Added a check to see if max/min value
+ is available for the type. If so, set it as the starting point for
+ min and max reduction function.
+ * parser.c (cp_parser_array_notation): Added a new location parameter.
+ * Make-lang.in (CXX_AND_OBJCXX_OBJS): Added cp/cp-pragma-simd.o.
+ * parser.c (cp_lexer_new_main): Removed cilkplus_local_simd_values
+ global variable.
+ (cp_parser_for): Likewise.
+ (cp_parser_simd_handle_next_clause): New function.
+ (cp_parser_simd_construct): Likewise.
+ (same_var_in_multiple_lists_p): Likewise.
+ (cp_parser_pragma): Added CILKPLUS_PRAGMA_SIMD case. Removed the
+ following cases: PRAGMA_SIMD_ASSERT, PRAGMA_SIMD_EMPTY,
+ PRAGMA_SIMD_NOASSERT, PRAGMA_SIMD_VECTORLENGTH, PRAGMA_SIMD_PRIVATE,
+ and PRAGMA_SIMD_LINEAR.
+ (cp_parser_simd_assert): Changed the function to use vecs instead of
+ mallocs, TREE_LIST and arrays. Also, added a new parameter to pass in
+ pragma simd information.
+ (cp_parser_simd_vectorlength): Likewise.
+ (cp_parser_simd_linear): Likewise.
+ (cp_parser_simd_private): Likewise.
+ (cp_parser_simd_reduction): Likewise.
+ * cp-pragma-simd.c: New file.
+
2013-04-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
* cp-array-notation.c (build_x_array_notation_expr): Made checking for