Builtins and C++ and such
Richard Henderson
rth@redhat.com
Tue Mar 19 15:23:00 GMT 2002
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~
More information about the Gcc
mailing list