This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Builtins and C++ and such
On Tue, Mar 19, 2002 at 03:06:48PM -0800, Mark Mitchell wrote:
> My present suggestion is allegedgly good because it uses a little
> hook that all languages can take advantage of in whatever
> way they want, it delays the optimization until RTL expansion so
> that tree-based optimizations don't get confused, and it is pretty
> demonstrably safe by looking at the body of the hook and nothing
> else.
You don't want to delay things that long. You want e.g.
__builtin_abs to turn in to the ABS_EXPR tree code.
r~