summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-04 23:29:00 +0000
committerbviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-04 23:29:00 +0000
commit70f149af925dedd4db0484b5e31bd2a757e955c5 (patch)
tree8367aeaa85de0b2b641eaddf157822cab19b751b
parent493277440fcc2a9c99fc609cede032bb41aeceb4 (diff)
downloadgcc-cilkplus-4_7-branch.tar.gz
Fixed a bug when throw() is called for a spawned function.cilkplus-4_7-branch
2012-06-04 Balaji V. Iyer <balaji.v.iyer@intel.com> * cilk.c (cp_make_cilk_frame): Removed adding body to the orig body's tree chain. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus-4_7-branch@188211 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog.cilk5
-rw-r--r--gcc/cp/cilk.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog.cilk b/gcc/cp/ChangeLog.cilk
index a9af17e35ac..b3405db20b7 100644
--- a/gcc/cp/ChangeLog.cilk
+++ b/gcc/cp/ChangeLog.cilk
@@ -1,3 +1,8 @@
+2012-06-04 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * cilk.c (cp_make_cilk_frame): Removed adding body to the orig body's
+ tree chain.
+
2012-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
* cp-gimplify.c (cp_gimplify_expr): Added a check to see if
diff --git a/gcc/cp/cilk.c b/gcc/cp/cilk.c
index a01f20168dc..f1dfcf4e8e8 100644
--- a/gcc/cp/cilk.c
+++ b/gcc/cp/cilk.c
@@ -857,7 +857,6 @@ cp_make_cilk_frame (void)
obody, dtor),
&body);
- TREE_CHAIN (obody) = body;
*saved_tree = body;
}