This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Builtins and C++ and such
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, bkoz at redhat dot com, jason at redhat dot com
- Date: 19 Mar 2002 16:01:59 -0700
- Subject: Re: Builtins and C++ and such
- References: <51660000.1016573597@gandalf.codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "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