bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj.
authorAlan Modra <alan@linuxcare.com.au>
Tue, 5 Dec 2000 08:00:32 +0000 (08:00 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 5 Dec 2000 08:00:32 +0000 (00:00 -0800)
        * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
        when using sjlj.

From-SVN: r38028

gcc/ChangeLog
gcc/bb-reorder.c

index 0d55ea8..e9146bd 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-05  Alan Modra <alan@linuxcare.com.au>
+
+       * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
+       when using sjlj.
+
 2000-12-05  Richard Henderson  <rth@redhat.com>
 
        * flow.c (calculate_global_regs_live): Only force stack pointer
index 45b5f2f..9b8a1bd 100644 (file)
@@ -1348,7 +1348,7 @@ reorder_basic_blocks ()
 
   /* We do not currently handle correct re-placement of EH notes.
      But that does not matter unless we intend to use them.  */
-  if (flag_exceptions && ! exceptions_via_longjmp)
+  if (flag_exceptions)
     for (i = 0; i < n_basic_blocks; i++)
       {
        edge e;