Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262298AbUKVSdu (ORCPT ); Mon, 22 Nov 2004 13:33:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262266AbUKVScE (ORCPT ); Mon, 22 Nov 2004 13:32:04 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:13727 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S262306AbUKVSVO (ORCPT ); Mon, 22 Nov 2004 13:21:14 -0500 Date: Mon, 22 Nov 2004 19:21:06 +0100 (MET) From: Jan Engelhardt To: Linus Torvalds cc: Linux Kernel List Subject: Re: sparse segfaults In-Reply-To: Message-ID: References: <20041120143755.E13550@flint.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1307 Lines: 32 >For example, the "nested function" thing makes something as simple as a >missing end brace cause the error reporting to be totally off, when gcc Oh yeah I've experienced that myself (and ever since, fear nested functions). The compiler generates like "nested_function.0" for a nested function entitled "nested_function". So far so good, but GDB does not now "nested_function.0", even if it is a valid symbol according to `nm`. Sigh. >Same goes for the "extended lvalues". They are not only insane, but they >mean that code like > (0,i) = 1; >extension - does anybody actually admit to ever _using_ comma- expressions >for assignments?) Not in C, at least. And neither in C++. (Only Perl if you ask, but that has vastly different semantics for "($thing,$anoterthing)".) I totally agree that some extensions are like superfluous. Some may say "nice to have", but go make a survey and ask how many users use them. Bet zero on the average? ;) Jan Engelhardt -- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - 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/