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]

Re: [PATCH]: Pass -D__HAVE_SHORT_DOUBLE__ when -fshort-double(HC11/HC12)


On Fri, 4 May 2001, Stephane Carrez wrote:

> To compile newlib correctly (_DOUBLE_IS_32BITS), pass -D__HAVE_SHORT_DOUBLE__
> when -fshort-double option is specified.

I think this should be target-independent, since the -fshort-double option
is.  (In that case, I'd also prefer __SHORT_DOUBLE__ to
__HAVE_SHORT_DOUBLE__ as the name of the macro.)  It should also be
documented in cpp.texi (but so should machine-dependent defines).

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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