From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13457 invoked by alias); 28 Jun 2005 21:39:32 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 13446 invoked by uid 22791); 28 Jun 2005 21:39:28 -0000 Received: from mx1.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 28 Jun 2005 21:39:28 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id A4AD6EDE1; Tue, 28 Jun 2005 23:39:26 +0200 (CEST) From: Andreas Schwab To: Paul Koning Cc: gdr@integrable-solutions.net, dewar@adacore.com, galibert@pobox.com, aph@redhat.com, dave.korn@artimi.com, pinskia@physics.uc.edu, gcc@gcc.gnu.org Subject: Re: signed is undefined and has been since 1992 (in GCC) References: <20050628142441.GA52889@dspnet.fr.eu.org> <20050628145148.GD52889@dspnet.fr.eu.org> <17089.26325.169281.749633@zapata.pink> <20050628171752.GE52889@dspnet.fr.eu.org> <42C19BE8.9050107@adacore.com> <42C1A23F.6000806@adacore.com> <42C1B3AC.50206@adacore.com> <42C1BA2C.4000705@adacore.com> <17089.49329.737918.459837@gargle.gargle.HOWL> X-Yow: Used staples are good with SOY SAUCE! Date: Tue, 28 Jun 2005 21:39:00 -0000 In-Reply-To: <17089.49329.737918.459837@gargle.gargle.HOWL> (Paul Koning's message of "Tue, 28 Jun 2005 17:27:13 -0400") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-06/txt/msg01204.txt.bz2 Paul Koning writes: >>>>>> "Gabriel" == Gabriel Dos Reis writes: > > Gabriel> When it comes down for the compiler writer to chose > Gabriel> something for undefined behaviour, it is hardly solely based > Gabriel> on the C standard. In fact, the C standard is of much less > Gabriel> help because it gaves up. > > That's my reaction as well. The standard says "do something". The > compiler has to pick a "something". But it does not have to be consistent. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."