* [PATCH][Cilkplus] Fix a bug when using throw () in function
@ 2012-06-04 22:35 Iyer, Balaji V
0 siblings, 0 replies; only message in thread
From: Iyer, Balaji V @ 2012-06-04 22:35 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
Hello Everyone,
This patch is for the Cilkplus branch affecting the C++ compiler. The compiler crashes when a throw() is set for a spawned function. This patch should fix that.
Thanks,
Balaji V. iyer.
[-- Attachment #2: patch_to_fix_throw.txt --]
[-- Type: text/plain, Size: 767 bytes --]
Index: gcc/cp/cilk.c
===================================================================
--- gcc/cp/cilk.c (revision 188209)
+++ gcc/cp/cilk.c (working copy)
@@ -872,7 +872,6 @@
obody, dtor),
&body);
- TREE_CHAIN (obody) = body;
*saved_tree = body;
}
Index: gcc/cp/ChangeLog.cilk
===================================================================
--- gcc/cp/ChangeLog.cilk (revision 188209)
+++ gcc/cp/ChangeLog.cilk (working copy)
@@ -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-05-30 Balaji V. Iyer <balaji.v.iyer@intel.com>
* semantics.c (finish_call_expr): Used spawning for call_type instead of
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-04 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 22:35 [PATCH][Cilkplus] Fix a bug when using throw () in function Iyer, Balaji V
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).