This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Builtins that don't work
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: Builtins that don't work
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 19 Jul 2001 16:03:33 -0700
- cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
--On Thursday, July 19, 2001 03:36:49 PM -0700 Richard Henderson
<rth@redhat.com> wrote:
> On Thu, Jul 19, 2001 at 12:28:39PM -0700, Mark Mitchell wrote:
>> But, should we actually try to fix the underlying problem? Either by
>> not recognizing the builtin on platforms that don't have the underlying
>> function,
>
> How are we going to do that? We don't necessarily even
> have libc built yet.
This is a property of the target, just like whether or not `#' is the
assembly comment character. So, we'd just put it in the target
configuration file.
The conservative (in terms of minimizing changes to existing configuratin
files) approach would be to turn it on by default, but allow targets to
turn off any builtins they don't support.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com