This is the mail archive of the gcc@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: Builtins and C++ and such


>>>>> "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


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