[tree-ssa] Splitting abnormal edges

Andrew MacLeod amacleod@redhat.com
Tue Jun 17 18:29:00 GMT 2003


On Tue, 2003-06-17 at 13:54, Jeff Sturm wrote:
> 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
> 

Im not sure it matters, this is as good as anything, they are all wrong
:-)

Andrew



More information about the Gcc-patches mailing list