This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Splitting abnormal edges


On 17 Jun 2003, Andrew MacLeod wrote:
> Just remove the abort, or change the if in the default case to if (1) or
> something...  You don't need a reverted patch in the tree to keep
> working on your patch do you?

No, but I need some workaround in place before I can commit the Java
patch... like so?

2003-06-17  Jeff Sturm  <jsturm@one-point.com>

	* tree-cfg.c (find_insert_location): Don't abort, for now.

Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-cfg.c,v
retrieving revision 1.1.4.110
diff -u -p -r1.1.4.110 tree-cfg.c
--- tree-cfg.c	17 Jun 2003 02:18:06 -0000	1.1.4.110
+++ tree-cfg.c	17 Jun 2003 17:48:14 -0000
@@ -3857,7 +3857,10 @@ find_insert_location (basic_block src, b
 	      }

 	    /* All cases ought to have been covered by now.  */
-	    abort ();
+	    /* FIXME: put this back after extra EH edges are removed.  */
+	    /* abort (); */
+	    ret = dest->head_tree_p;
+	    break;
 	}
     }
   else


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]