This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Committed] New function fold_builtin_abs
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 11:50:24 -0600 (MDT)
- Subject: Re: [Committed] New function fold_builtin_abs
On Thu, 10 Jun 2004, Richard Henderson wrote:
> On Thu, Jun 10, 2004 at 07:43:54AM -0600, Roger Sayle wrote:
> > - /* build_function_call changes these into ABS_EXPR. */
> > - abort ();
>
> The comment directs you do code that is now redundant with your
> fold_builtin change.
After another three patches the entire function expand_tree_builtin
will be obsolete, and can be removed from C's build_function_call,
and C++'s build_cxx_call and build_function_call. It will also
avoid the special casing of "fabs" in the Java front-end.
Its far easier for me to make all the necessary changes the the
middle-end (which I can approve for myself), and then propose a
single patch to eliminate "expand_tree_builtin" from c-common.c,
than to incrementally remove functionality from the C and C++
front-ends, requiring permission from the front-end maintainers
for each iteration.
This should clarify the "this is one of a series of patches" remark
in my original posting.
Roger
--