PATCH: arm*-*-symbianelf* configuration

Joseph S. Myers jsm@polyomino.org.uk
Tue Aug 3 21:40:00 GMT 2004


On Tue, 3 Aug 2004, Mark Mitchell wrote:

> + /* Do not expand builtin functions (unless explicitly prefixed with
> +    "__builtin").  Symbian OS code relies on properties of the standard
> +    library that go beyond those guaranteed by the ANSI/ISO standard.
> +    For example, "memcpy" works even with overlapping memory, like
> +    "memmove".  We cannot simply set flag_no_builtin in arm.c because
> +    (a) flag_no_builtin is not declared in language-independent code,
> +    and (b) that would prevent users from explicitly overriding the
> +    default with -fno-builtin, which may sometimes be useful.

That would be overriding with -fbuiltin?  (Or for that matter -fhosted.)

This sort of target-specific variation ought to be documented somewhere,
but I'm not sure where.  Perhaps in the documentation of -fno-builtin, to
indicate that it is the default for some targets.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)



More information about the Gcc-patches mailing list