This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patches applied to sh.c
- From: ja2morri at csclub dot uwaterloo dot ca (James A. Morrison)
- To: Joern RENNECKE <joern dot rennecke at st dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Aug 2005 19:16:50 -0400
- Subject: Re: patches applied to sh.c
- References: <430B20D9.10205@st.com>
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