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: patches applied to sh.c


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


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