Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 6 Jan 2002 08:23:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 6 Jan 2002 08:23:27 -0500 Received: from ariane.ens-cachan.fr ([138.231.176.4]:21925 "EHLO ariane.ens-cachan.fr") by vger.kernel.org with ESMTP id ; Sun, 6 Jan 2002 08:23:15 -0500 To: dewar@gnat.com Cc: paulus@samba.org, velco@fadata.bg, gcc@gcc.gnu.org, linux-kernel@vger.kernel.org, trini@kernel.crashing.org Subject: Re: [PATCH] C undefined behavior fix In-Reply-To: <20020106131635.1177AF2FF5@nile.gnat.com> From: Gabriel Dos Reis In-Reply-To: dewar@gnat.com's message of "Sun, 6 Jan 2002 08:16:35 -0500 (EST)" Organization: CodeSourcery, LLC Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: 06 Jan 2002 14:22:45 +0100 Message-ID: Lines: 13 X-Mailer: Gnus v5.6.45/Emacs 19.34 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org dewar@gnat.com writes: [...] | I also find that introducing asm for this purpose is unnecessarily | non-portable. Yes in some cases, we are talking about very target | specific code, but in other cases the code is not so target | specific, and it is desirable to stay within C if possible. Isn't the incriminated construct already outside of C and non-portable? -- Gaby CodeSourcery, LLC http://www.codesourcery.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/