Re: [PATCH] Fix Cilk+ catch_exc.cc

2014-02-10 Thread Richard Biener
On Sat, 8 Feb 2014, Jakub Jelinek wrote: > Hi! > > install_builtin calls build_fn_decl, which sets TREE_NOTHROW by default. > In most cases I think that is desirable, but __cilkrts_rethrow apparently > conditionally throws an exception, thus marking it TREE_NOTHROW is very much > undesirable and

RE: [PATCH] Fix Cilk+ catch_exc.cc

2014-02-07 Thread Iyer, Balaji V
Biener > Cc: gcc-patches@gcc.gnu.org > Subject: [PATCH] Fix Cilk+ catch_exc.cc > > Hi! > > install_builtin calls build_fn_decl, which sets TREE_NOTHROW by default. > In most cases I think that is desirable, but __cilkrts_rethrow apparently > conditionally throws an except

[PATCH] Fix Cilk+ catch_exc.cc

2014-02-07 Thread Jakub Jelinek
Hi! install_builtin calls build_fn_decl, which sets TREE_NOTHROW by default. In most cases I think that is desirable, but __cilkrts_rethrow apparently conditionally throws an exception, thus marking it TREE_NOTHROW is very much undesirable and the fact that the testcase happened to work (except fo