+2001-03-27 Richard Henderson <rth@redhat.com>
+
+ * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
+ jump.c, toplev.c:
+ Rename asynchronous_exceptions to flag_non_call_exceptions.
+
2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Don't check for bcopy.
/* Find the normal taken edge and the normal fallthru edge.
Note that there may in fact be other edges due to
- asynchronous_exceptions.
+ flag_non_call_exceptions.
Note, conditional jumps with other side effects may not
be fully optimized. In this case it is possible for
long offset;
const char *label;
- if (! asynchronous_exceptions && GET_CODE (insn) == CALL_INSN)
+ if (! flag_non_call_exceptions && GET_CODE (insn) == CALL_INSN)
{
/* Extract the size of the args from the CALL rtx itself. */
/* If only calls can throw, and we have a frame pointer,
save up adjustments until we see the CALL_INSN. */
- else if (! asynchronous_exceptions
+ else if (! flag_non_call_exceptions
&& cfa.reg != STACK_POINTER_REGNUM)
return;
/* One to enable asynchronous exception support. */
-int asynchronous_exceptions = 0;
+int flag_non_call_exceptions = 0;
/* One to protect cleanup actions with a handler that calls
__terminate, zero otherwise. */
return 1;
}
- if (asynchronous_exceptions)
+ if (flag_non_call_exceptions)
{
/* If we wanted asynchronous exceptions, then everything but NOTEs
and CODE_LABELs could throw. */
/* One to enable asynchronous exception support. */
-extern int asynchronous_exceptions;
+extern int flag_non_call_exceptions;
/* One to protect cleanup actions with a handler that calls
__terminate, zero otherwise. */
Also mark the CALL_INSN as reaching any nonlocal goto handler. */
- else if (code == CALL_INSN || asynchronous_exceptions)
+ else if (code == CALL_INSN || flag_non_call_exceptions)
{
/* Add any appropriate EH edges. We do this unconditionally
since there may be a REG_EH_REGION or REG_EH_RETHROW note
/* If we have asynchronous exceptions, do the same for *all*
exception regions active in the block. */
- if (asynchronous_exceptions
+ if (flag_non_call_exceptions
&& bb->eh_beg != bb->eh_end)
{
if (bb->eh_beg >= 0)
+2001-03-27 Richard Henderson <rth@redhat.com>
+
+ * decl.c (end_java_method): Rename asynchronous_exceptions to
+ flag_non_call_exceptions.
+
2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.
end_java_method ()
{
tree fndecl = current_function_decl;
- int flag_asynchronous_exceptions = asynchronous_exceptions;
+ int flag_flag_non_call_exceptions = flag_non_call_exceptions;
expand_end_bindings (getdecls (), 1, 0);
/* pop out of function */
expand_function_end (input_filename, lineno, 0);
/* FIXME: If the current method contains any exception handlers,
- force asynchronous_exceptions: this is necessary because signal
+ force flag_non_call_exceptions: this is necessary because signal
handlers in libjava may throw exceptions. This is far from being
a perfect solution, but it's better than doing nothing at all.*/
if (catch_clauses)
- asynchronous_exceptions = 1;
+ flag_non_call_exceptions = 1;
/* Run the optimizers and output assembler code for this function. */
rest_of_compilation (fndecl);
current_function_decl = NULL_TREE;
- asynchronous_exceptions = flag_asynchronous_exceptions;
+ flag_non_call_exceptions = flag_flag_non_call_exceptions;
}
/* Mark language-specific parts of T for garbage-collection. */
/* Avoid moving insns across EH regions if either of the insns
can throw. */
if (flag_exceptions
- && (asynchronous_exceptions || GET_CODE (i1) == CALL_INSN)
+ && (flag_non_call_exceptions || GET_CODE (i1) == CALL_INSN)
&& !in_same_eh_region (i1, i2))
break;
"Just generate unwind tables for exception handling" },
{"sjlj-exceptions", &exceptions_via_longjmp, 1,
"Use setjmp/longjmp to handle exceptions" },
- {"asynchronous-exceptions", &asynchronous_exceptions, 1,
- "Support asynchronous exceptions" },
+ {"non-call-exceptions", &flag_non_call_exceptions, 1,
+ "Support synchronous non-call exceptions" },
{"profile-arcs", &profile_arc_flag, 1,
"Insert arc based program profiling code" },
{"test-coverage", &flag_test_coverage, 1,