From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24985 invoked by alias); 18 Dec 2001 00:46:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24777 invoked from network); 18 Dec 2001 00:45:26 -0000 Received: from unknown (HELO dot.cygnus.com) (205.180.230.224) by sources.redhat.com with SMTP; 18 Dec 2001 00:45:26 -0000 Received: (from rth@localhost) by dot.cygnus.com (8.11.6/8.11.6) id fBI0jLF15850; Mon, 17 Dec 2001 16:45:21 -0800 X-Authentication-Warning: dot.cygnus.com: rth set sender to rth@redhat.com using -f Date: Mon, 17 Dec 2001 16:46:00 -0000 From: Richard Henderson To: Andrew Cagney , Ian Lance Taylor , binutils@sources.redhat.com, gdb@sources.redhat.com Subject: Re: enum { BFD_ENDIAN_BIG, ...} Message-ID: <20011217164521.C15826@redhat.com> References: <3C1D4919.1000102@cygnus.com> <3C1E0F79.6050209@cygnus.com> <20011218105941.Q29130@bubble.sa.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011218105941.Q29130@bubble.sa.bigpond.net.au>; from amodra@bigpond.net.au on Tue, Dec 18, 2001 at 10:59:41AM +1030 X-SW-Source: 2001-12/txt/msg00156.txt.bz2 On Tue, Dec 18, 2001 at 10:59:41AM +1030, Alan Modra wrote: > While we're on this subject, note that initialising pointers (and FP) to > all-bits-zero via memset is not strictly portable. Not all architectures > represent a NULL pointer as all-bits-zero. The C-FAQ mentions a number > of such machines. http://www.eskimo.com/~scs/C-faq/top.html Whatever. None of them are live. Nor, IMO, will there ever be another machine created with a non-zero NULL. The assumption is now so universally ingrained it would cause more trouble than it would be worth. r~