Index: gcc/cp/parser.c
===
--- gcc/cp/parser.c (revision 190195)
+++ gcc/cp/parser.c (working copy)
@@ -28351,6 +28351,13 @@
FOR_EXPR (statement) = decl;
CILK_FOR_GRAIN (statement) = grain;
+ /* If an initial
][Cilkplus] Remove unwanted static chain.
Index: gcc/cp/parser.c
===
--- gcc/cp/parser.c (revision 190195)
+++ gcc/cp/parser.c (working copy)
@@ -28351,6 +28351,13 @@
FOR_EXPR (statement) = decl;
CILK_FOR_GRAIN (statement
On 08/08/12 13:27, Iyer, Balaji V wrote:
Hello Aldy,
The only time we will get into this function (cp_parser_cilk_for) is
when the fcilkplus is turned on.
Here is the original call for this function (line #9983) :
if (!flag_enable_cilk)
fatal_error (-fcilkplus must be
][Cilkplus] Remove unwanted static chain.
On 08/08/12 13:27, Iyer, Balaji V wrote:
Hello Aldy,
The only time we will get into this function (cp_parser_cilk_for) is
when the fcilkplus is turned on.
Here is the original call for this function (line #9983) :
if (!flag_enable_cilk
Hello Everyone,
This patch is for the Cilk Plus branch affecting mainly the C++
compiler. This patch will store the initial value of a loop correctly and
remove the unnecessary static chain usage for some cases of Cilk_for.
Thanks,
Balaji V. Iyer.
Index: parser.c
Sorry, I was in the wrong directory when I was creating the patch. Here is the
fixed patch.
Thanks,
Balaji V. Iyer.
-Original Message-
From: Iyer, Balaji V
Sent: Tuesday, August 07, 2012 4:18 PM
To: 'gcc-patches@gcc.gnu.org'
Subject: [PATCH][Cilkplus] Remove unwanted static chain