From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6170 invoked by alias); 29 Mar 2007 04:21:02 -0000 Received: (qmail 6140 invoked by uid 22791); 29 Mar 2007 04:21:00 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 29 Mar 2007 05:20:57 +0100 Received: from HOME-C4E4A596F7 (IGLD-83-130-220-58.inter.net.il [83.130.220.58]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id HMJ84669 (AUTH halo1); Thu, 29 Mar 2007 06:20:54 +0200 (IST) Date: Thu, 29 Mar 2007 04:21:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb-patches@sourceware.org In-reply-to: <20070328225013.GN3866@adacore.com> (message from Joel Brobecker on Wed, 28 Mar 2007 15:50:13 -0700) Subject: Re: [RFA/sparc] Add handling of stack-check probes Reply-to: Eli Zaretskii References: <20070328225013.GN3866@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00305.txt.bz2 > Date: Wed, 28 Mar 2007 15:50:13 -0700 > From: Joel Brobecker > > PS: Do other people think that it is simpler for the human brain to understand > if (pc >= current_pc) > than > if (current_pc <= pc) > > In other words, the boundary value is put on the rhs of the condition, > and the variable value is put on the lhs... It's just an aesthetic > consideration, but I can change it if others agree. I prefer the variable to be on the left and the boundary on the right. The only case where it is justified to reverse the order is when you use ==, to avoid the frequent typo that uses only one `='.