Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MjLYD-0007hI-8K for mharc-grub-devel@gnu.org; Thu, 03 Sep 2009 19:17:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjLYB-0007gv-Ml for grub-devel@gnu.org; Thu, 03 Sep 2009 19:17:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjLYB-0007gf-0R for grub-devel@gnu.org; Thu, 03 Sep 2009 19:17:07 -0400 Received: from [199.232.76.173] (port=55791 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjLYA-0007gc-Qo for grub-devel@gnu.org; Thu, 03 Sep 2009 19:17:06 -0400 Received: from 74-93-104-97-washington.hfc.comcastbusiness.net ([74.93.104.97]:51281 helo=sunset.davemloft.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjLYA-0002iL-H5 for grub-devel@gnu.org; Thu, 03 Sep 2009 19:17:06 -0400 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 15BDCC8C40B; Thu, 3 Sep 2009 16:17:17 -0700 (PDT) Date: Thu, 03 Sep 2009 16:17:16 -0700 (PDT) Message-Id: <20090903.161716.111781837.davem@davemloft.net> To: grub-devel@gnu.org, phcoder@gmail.com From: David Miller In-Reply-To: References: <69BDFFD8-BF4F-4BFD-AE3C-A0C9A1A90A49@zetam.org> <20090901.152618.221299341.davem@davemloft.net> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: Re: [RFC] Eliminate NESTED_ATTR_FUNC X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 23:17:07 -0000 From: "Vladimir 'phcoder' Serbinenko" Date: Thu, 3 Sep 2009 17:08:34 +0200 > I can't agree with designating nested functions as root issue. Imagine > tomorrow we discover a bug in "for" loop compiling. This wouldn't be a > reason to replace all "for"s with "while"s. The root issue is compiler > bug and it should be fixed I can tell you that in kernel land when we encounter a compiler bug we usually have to simply cope with it somehow, and if that means rearranging some loop to not trigger a bug that is sometimes what it indeed does mean. Also, a small project using a pretty obscure feature of gcc was in a way asking for trouble :-) But if you want to decrease your testing base every time we hit some compiler bug you don't particularly like, well I guess that's your perogative then...