From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QcSTH-0007wn-Rn for garchives@archives.gentoo.org; Fri, 01 Jul 2011 01:24:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EAB01C035; Fri, 1 Jul 2011 01:23:25 +0000 (UTC) Received: from qmta02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by pigeon.gentoo.org (Postfix) with ESMTP id BCC591C035 for ; Fri, 1 Jul 2011 01:23:25 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta02.emeryville.ca.mail.comcast.net with comcast id 2RGD1h0011wfjNsA2RPNQz; Fri, 01 Jul 2011 01:23:22 +0000 Received: from ajax ([24.11.47.14]) by omta23.emeryville.ca.mail.comcast.net with comcast id 2RPi1h0070JMh7c8jRPkWN; Fri, 01 Jul 2011 01:23:44 +0000 Date: Thu, 30 Jun 2011 21:23:21 -0400 From: Frank Peters To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems Message-Id: <20110630212321.ad403843.frank.peters@comcast.net> In-Reply-To: References: <20110630174530.9bcbcd47.frank.peters@comcast.net> <20110630200424.0d6d49ef.frank.peters@comcast.net> X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; x86_64-unknown-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: a655dc2e3fc5b3cb91599305d6ca80d6 On Fri, 1 Jul 2011 00:58:46 +0000 (UTC) Duncan <1i5t5.duncan@cox.net> wrote: > > I had wondered if this might be an "undefined behavior" optimization bug, > Well, the amd64 users list may not be the appropriate place to discuss C programming, but the problem here stems from attempting to do things with C that are not supposed to be done with C. Such things are aptly called "tricks" because they stray away from the convention. Ideally, I suppose, for these purposes would be to use assembly language routines mixed into the C code. But this is not as easy as with the "tricks." Anyway, I'm glad I presented this issue. It has definitely improved my understanding. GCC has dozens, if not hundreds, of compile options and I know the actual function of only a small few. Frank Peters