Builtins and C++ and such

Tom Tromey tromey@redhat.com
Tue Mar 19 14:37:00 GMT 2002


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

Mark> 3. A change to expand_expr (in the CALL_EXPR) case to do a
Mark> language-dependent analysis of whether or not the called
Mark> function is a builtin.

We do something like this in gcj to handle builtins, though in our
case we make the decision when generating the call.  See
gcc/java/builtins.c.  It is pretty hacky, since the current builtins
code is basically C-centric.

Tom



More information about the Gcc mailing list