This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Finish moving alpha/ builtins to c-common.c.


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]