Commit eb6b2571 by Andrew Pinski Committed by Andrew Pinski

re PR objc/23381 (Next runtime objc exceptions are broken)

2005-08-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/23381
        * objc-act.c (next_sjlj_build_try_catch_finally): Set
        TREE_SIDE_EFFECTS on catch_seq after building it.

From-SVN: r103658
parent 40b0345d
2005-08-31 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/23381
* objc-act.c (next_sjlj_build_try_catch_finally): Set
TREE_SIDE_EFFECTS on catch_seq after building it.
2005-08-09 Andrew Pinski <pinskia@physics.uc.edu> 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
part of PR objc/21992 part of PR objc/21992
......
...@@ -3727,6 +3727,7 @@ next_sjlj_build_try_catch_finally (void) ...@@ -3727,6 +3727,7 @@ next_sjlj_build_try_catch_finally (void)
{ {
tree caught_decl = objc_build_exc_ptr (); tree caught_decl = objc_build_exc_ptr ();
catch_seq = build_stmt (BIND_EXPR, caught_decl, NULL, NULL); catch_seq = build_stmt (BIND_EXPR, caught_decl, NULL, NULL);
TREE_SIDE_EFFECTS (catch_seq) = 1;
t = next_sjlj_build_exc_extract (caught_decl); t = next_sjlj_build_exc_extract (caught_decl);
append_to_statement_list (t, &BIND_EXPR_BODY (catch_seq)); append_to_statement_list (t, &BIND_EXPR_BODY (catch_seq));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment