diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-08-31 04:48:41 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-08-30 21:48:41 -0700 |
commit | eb6b2571f3d407896c8a45ee123c5c2a386bb4b9 (patch) | |
tree | 5399b6b443fcf75f067922179dc2ba0c399cc748 /gcc/objc | |
parent | 40b0345dda5a8e334e4dc6964b7cfb66eb6aa9d9 (diff) | |
download | gcc-eb6b2571f3d407896c8a45ee123c5c2a386bb4b9.zip gcc-eb6b2571f3d407896c8a45ee123c5c2a386bb4b9.tar.gz gcc-eb6b2571f3d407896c8a45ee123c5c2a386bb4b9.tar.bz2 |
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
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index f6fde14..fdb8c57 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,9 @@ +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> part of PR objc/21992 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 697e029..7d3fb26 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -3727,6 +3727,7 @@ next_sjlj_build_try_catch_finally (void) { tree caught_decl = objc_build_exc_ptr (); catch_seq = build_stmt (BIND_EXPR, caught_decl, NULL, NULL); + TREE_SIDE_EFFECTS (catch_seq) = 1; t = next_sjlj_build_exc_extract (caught_decl); append_to_statement_list (t, &BIND_EXPR_BODY (catch_seq)); |