Uncapitalized some error messages and added location to some errors.

+2013-01-02  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+	* parser.c (cp_parser_cilk_for_expression_iterator): Uncapitalized an
+	error message and added appropriate location to error message.
+	(cp_parser_jump_statement): Likewise.
+	* cp-cilk.c (copy_decl_for_cilk): Likewise.
+	


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194830 138bc75d-0d04-0410-961f-82ee72b054a4
Merged with trunk at revision 194832.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194854 138bc75d-0d04-0410-961f-82ee72b054a4
Merged with trunk at revision 194958.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194982 138bc75d-0d04-0410-961f-82ee72b054a4
Merged with trunk at revision 195057.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195058 138bc75d-0d04-0410-961f-82ee72b054a4
Fixed a bug of spawning lambda functions.
testsuite/ChangeLog.cilkplus
+2013-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/lambda_spawns.cc: 
New test.
+       * g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/lambda_spawns_tplt.cc: 
New test.
+       * g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/execute.exp:
+       New script.
+


gcc/ChangeLog.cilkplus
+2013-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * gimplify.c (gimplify_expr): Added a check to see if error has occured.
+       If so, then don't even try to handle the spawn since the program is
+       wrong anyway.
+

gcc/cp/ChangeLog.cilkplus
+2013-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * semantics.c (finish_call_expr): Added a check for lambda expression
+       that is spawned.  If so, then we store it to a variable and spawn that.
+       * mangle.c (write_encoding): Added a check to see if the function is a
+       cilk helper function.
+       (write_qualified_name): Likewise.
+       (write_bare_function_type): Likewise.
+       * lex.c (unqualified_fn_lookup_error): Removed an unnecessary if-stmt.
+       * cp-cilk.c (cilk_lambda_fn_temp): New function.
+
 


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195068 138bc75d-0d04-0410-961f-82ee72b054a4
Added a test case that was accidentally omitted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195069 138bc75d-0d04-0410-961f-82ee72b054a4
Updated the YEAR on copyright notice.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195099 138bc75d-0d04-0410-961f-82ee72b054a4
Merged with trunk at revision 195140.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195181 138bc75d-0d04-0410-961f-82ee72b054a4
pushing up to github
Merged with trunk at revision 195329.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195336 138bc75d-0d04-0410-961f-82ee72b054a4
Removed setting ASSEMBLER NAME in elemental function.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195390 138bc75d-0d04-0410-961f-82ee72b054a4
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.
+



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195392 138bc75d-0d04-0410-961f-82ee72b054a4
Fixed a bug with assembler name setting.
+2013-01-24  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * cgraphunit.c (cgraph_finalize_function): If cilkplus is enabled and
+       if it is a cloned elemental function, then we force its output.
+

+2013-01-24  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * c-cpp-elem-function.c (elem_fn_create_fn): Set the assembler name and
+       a function as elemental function before adding the node.
+



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195442 138bc75d-0d04-0410-961f-82ee72b054a4
initial implementation of array follow forwarding branch. works on simple tests. still some bugs to smooth out
add new files
moving to mine computers
updated struct
Allowed array notation builtin functions in return expression.
gcc/ChangeLog.cilkplus
@@ -1,3 +1,10 @@
+2013-01-25  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * c/c-typeck.c (c_finish_return): Added a check if the return expr is
+       a builtin array-notation function.  If so, then we don't issue error.
+       * c/c-array-notation.c (fix_return_expr): New function.
+       (expand_array_notation_exprs): Added a RETURN_EXPR case.
+

gcc/cp/ChangeLog.cilkplus
+2013-01-25  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * semantics.c (finish_return_stmt): Added a check if return expression
+       is a builtin array notation function.  If so, then don't issue an
+       error.
+       * cp-array-notation.c (find_rank): Added a FUNCTION_DECL case.
+       (fix_array_notation_exprs): Added a RETURN_EXPR case.
+       (fix_return_expr): New function.
+       * call.c (build_over_call): Add a check if the function is a built-in
+       array notation function call.  If so, then don't do any type-casting.
+

gcc/testsuite/ChangeLog.cilkplus
+2013-01-25  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * g++.dg/cilk-plus/array_notation_tests/execute/builtin-in-if.cc: Added
+       the dg-do run and dg-options flags on top of the file.
+       * g++.dg/cilk-plus/array_notation_tests/execute/builtin-in-if.cc:
+       Likewise.
+       * g++.dg/cilk-plus/array_notation_tests/execute/builtin_fn_custom_tplt.cc:
+       Likewise.
+       * g++.dg/cilk-plus/array_notation_tests/execute/comma_exp.cc: Likewise.
+       * g++.dg/cilk-plus/array_notation_tests/execute/exec-once.cc: Likewise.
+       * g++.dg/cilk-plus/array_notation_tests/execute/n-ptr-test.cc: Likewise.
+       * gcc.dg/cilk-plus/cilk_keywords_test/errors/grainsize_error.c:
+       New test case.
+       * gcc.dg/cilk-plus/cilk_keywords_test/errors/test_builtin_return.c:
+       Likewise.
+       * g++.dg/cilk-plus/array_notation_tests/execute/test_builtin_return.cc:
+       Likewise.
+




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195480 138bc75d-0d04-0410-961f-82ee72b054a4
Added the test cases which got omitted in the last commit.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195481 138bc75d-0d04-0410-961f-82ee72b054a4
Merged with trunk at revision 195497.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@195501 138bc75d-0d04-0410-961f-82ee72b054a4