bb-reorder.c, [...]: Rename asynchronous_exceptions to flag_non_call_exceptions.
authorRichard Henderson <rth@redhat.com>
Wed, 28 Mar 2001 04:18:13 +0000 (20:18 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 28 Mar 2001 04:18:13 +0000 (20:18 -0800)
        * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
        jump.c, toplev.c:
        Rename asynchronous_exceptions to flag_non_call_exceptions.

        * java/decl.c (end_java_method): Rename asynchronous_exceptions to
        flag_non_call_exceptions.

From-SVN: r40902

gcc/ChangeLog
gcc/bb-reorder.c
gcc/dwarf2out.c
gcc/except.c
gcc/except.h
gcc/flow.c
gcc/java/ChangeLog
gcc/java/decl.c
gcc/jump.c
gcc/toplev.c

index a9630a8d53df4dd6fc6218810f9aca37fafa5cbd..bd68d3fcc31a0339e50e2af637637e728461a4fa 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 740be9aff04e59682a8c5f36c7cc45afc6151254..93b2034963cf562c0156fc80aec055002d55944a 100644 (file)
@@ -396,7 +396,7 @@ make_reorder_chain_1 (bb, prev)
 
       /* 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
index f791538aa5f72a2c2f4e885aabf9a184a2530d6e..67ac7e2afca25a6425b22d938adc36643a504432 100644 (file)
@@ -951,7 +951,7 @@ dwarf2out_stack_adjust (insn)
   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.  */
 
@@ -968,7 +968,7 @@ dwarf2out_stack_adjust (insn)
 
   /* 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;
 
index eb80b9b40e261d999baaffefa1c64fe8b6e09db4..c432eaa801d08b9e146fad6a61185cdc249f9806 100644 (file)
@@ -416,7 +416,7 @@ int exceptions_via_longjmp = 2;
 
 /* 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.  */
@@ -2704,7 +2704,7 @@ can_throw (insn)
        return 1;
     }
 
-  if (asynchronous_exceptions)
+  if (flag_non_call_exceptions)
     {
       /* If we wanted asynchronous exceptions, then everything but NOTEs
         and CODE_LABELs could throw.  */
index b6450d3535eacc3a5fd946f3a933f1569886a352..f4eda909f75959a472d6c676007c4375e7b0b5af 100644 (file)
@@ -478,7 +478,7 @@ extern int exceptions_via_longjmp;
 
 /* 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.  */
index 6625a6936f5b6914618d1c55e0fb3da0acffcd3a..bf5043a5e7b757f30ac51f3a66f0f0332a097fb6 100644 (file)
@@ -1324,7 +1324,7 @@ make_edges (label_value_list)
 
         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
@@ -1333,7 +1333,7 @@ make_edges (label_value_list)
 
          /* 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)
index c558580a9333fa567744da0af32acbbf755a1277..17bd9d5a42a82b218b651982da98cd978dc84f67 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 1a68a0421383cfb2731c1c153c137a6c1eb17d05..a5b423bfa05a1c057af16ff6a4c0b76673744f35 100644 (file)
@@ -1827,7 +1827,7 @@ void
 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 */
@@ -1844,17 +1844,17 @@ end_java_method ()
   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.  */
index bc80ba2e3b6eb993e951c46236d4cc48172210f3..958f85824000b98ed7921208ad3aceb9539bce8d 100644 (file)
@@ -1447,7 +1447,7 @@ find_cross_jump (e1, e2, minimum, f1, f2)
       /* 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;
 
index 3c7d0ab74aa63134b42c4652c39d3564e0b1d86c..1263e216bbf5cf4e599bbbbbf3893443328b4b4f 100644 (file)
@@ -1083,8 +1083,8 @@ lang_independent_options f_options[] =
     "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,