diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 2000-01-08 01:59:33 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2000-01-07 17:59:33 -0800 |
commit | 6f9c87166a6859cb28f2b2ce178fa2617c4552b2 (patch) | |
tree | da500c1e8e31c1c7c196e63a87b932cc9bac7c9a /gcc/java/expr.c | |
parent | f626e9fa21d9844a5faf260f23147cc4b69e4bd3 (diff) | |
download | gcc-6f9c87166a6859cb28f2b2ce178fa2617c4552b2.tar.gz |
expr.c (java_lang_expand_expr): Switch to permanent obstack before calling expand_eh_region_start and...
Wed Dec 8 15:33:26 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (java_lang_expand_expr): Switch to permanent obstack
before calling expand_eh_region_start and expand_start_all_catch.
* except.c (expand_start_java_handler): Switch to permanent
obstack before calling expand_eh_region_start.
(expand_end_java_handler): Switch to permanent obstack before
calling expand_start_all_catch.
From-SVN: r31284
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 30f1231726e..4a731afdaf8 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -2024,9 +2024,13 @@ java_lang_expand_expr (exp, target, tmode, modifier) /* We expand a try[-catch] block */ /* Expand the try block */ + push_obstacks (&permanent_obstack, &permanent_obstack); expand_eh_region_start (); + pop_obstacks (); expand_expr_stmt (TREE_OPERAND (exp, 0)); + push_obstacks (&permanent_obstack, &permanent_obstack); expand_start_all_catch (); + pop_obstacks (); /* Expand all catch clauses (EH handlers) */ for (current = TREE_OPERAND (exp, 1); current; |