This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Yesterday's testcases
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 21 Nov 2001 11:18:53 +0000 (GMT)
- Subject: Re: Yesterday's testcases
On Wed, 21 Nov 2001, Neil Booth wrote:
> Is this not a typo? That looks equivalent to
The type of a conditional expression between pointer types depends on
whether one side is a null pointer constant, see C99 6.5.15#6. This is
the same principle used in current glibc's <tgmath.h> (to which Ulrich
helpfully added to my definitions of __floating_type,
__tgmath_real_type_sub and __tgmath_real_type the comment
/* This is ugly but unless gcc gets appropriate builtins we have to do
something like this. Don't ask how it works. */
).
--
Joseph S. Myers
jsm28@cam.ac.uk