patches applied to sh.c

James A. Morrison ja2morri@csclub.uwaterloo.ca
Wed Aug 24 00:38:00 GMT 2005


Joern RENNECKE <joern.rennecke@st.com> writes:

> -	  tmp = build (GE_EXPR, boolean_type_node, next_fp, next_fp_limit);
> -	  tmp = build (COND_EXPR, void_type_node, tmp,
> +	  tmp = build1 (ADDR_EXPR, pptr_type_node, next_fp);
> +	  tmp = build2 (MODIFY_EXPR, void_type_node, addr, tmp);
> +	  gimplify_and_add (tmp, pre_p);
> +
> +	  tmp = build2 (MODIFY_EXPR, ptr_type_node, next_fp_tmp, valist);
> +	  gimplify_and_add (tmp, pre_p);
> +	  tmp = next_fp_limit;
> +	  if (size > 4 && !is_double)
> +	    tmp = build2 (PLUS_EXPR, TREE_TYPE (tmp), tmp,
> +			  fold_convert (TREE_TYPE (tmp), size_int (4 - size)));
> +	  tmp = build (GE_EXPR, boolean_type_node, next_fp_tmp, tmp);
> +	  cmp = build (COND_EXPR, void_type_node, tmp,
>  		       build (GOTO_EXPR, void_type_node, lab_false),
>  		       NULL);

 Are you using buildN or not?


-- 
Thanks,
Jim

http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim



More information about the Gcc-patches mailing list