This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Finish moving alpha/ builtins to c-common.c.
- From: Richard Henderson <rth at redhat dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 19 May 2002 14:36:45 -0700
- Subject: Re: Finish moving alpha/ builtins to c-common.c.
- References: <20020519114542.GA1538@daikokuya.demon.co.uk>
On Sun, May 19, 2002 at 12:45:42PM +0100, Neil Booth wrote:
> Incidentally, I'm not sure why alpha.h needs these language macros
> defined for all OS-es. I'd have thought it would be OS-specific,
> or target-independent. Oh well.
*shrug* It's an OSF/1 thing, but it's been there so long
I dare not move it.
> + #define TARGET_OS_CPP_BUILTINS() \
> + if (flag_pic) \
> + { \
> + builtin_define ("__PIC__"); \
> + builtin_define ("__pic__"); \
> + }
do { } while (0)
> ! #undef CPP_XFLOAT_DEFINE()
Typo.
> ! #define CPP_XFLOAT_DEFINE() do {builtin_define ("__X_FLOAT")} while (0)
And this can as-easily be handled with
if (LONG_DOUBLE_TYPE_SIZE == 128)
builtin_define ("__X_FLOAT");
in osf.h.
Otherwise ok.
r~