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: [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
--


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