This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ build failure (Was: C++ PATCH: PR 12735)
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 13 Nov 2003 16:09:39 +0000 (UTC)
- Subject: Re: g++ build failure (Was: C++ PATCH: PR 12735)
- References: <200311131558.hADFwVH01757@linsvr2.uk.superh.com>
On Thu, 13 Nov 2003, Joern Rennecke wrote:
> exists in c99, it is not compatible with any pointer type, and
> thus assigning a union tree_node * to ok is a constraint violation
> of 6.5.16.1 .
The last case of 6.5.16.1#1 ("the left operand has type _Bool and the
right is a pointer") is the one that applies.
But the requirement for cross-compilers to build with 2.95 means we can't
use this (or other properties of _Bool that distinguish it from other
integer types) in GCC.
--
Joseph S. Myers
jsm@polyomino.org.uk