Builtins that don't work

Mark Mitchell mark@codesourcery.com
Thu Jul 19 16:23:00 GMT 2001


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



More information about the Libstdc++ mailing list