This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Pass -D__HAVE_SHORT_DOUBLE__ when -fshort-double(HC11/HC12)
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: [PATCH]: Pass -D__HAVE_SHORT_DOUBLE__ when -fshort-double(HC11/HC12)
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Fri, 4 May 2001 21:03:03 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
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