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 1QcVUj-0007Fq-77 for garchives@archives.gentoo.org; Fri, 01 Jul 2011 04:38:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB7D81C008; Fri, 1 Jul 2011 04:36:39 +0000 (UTC) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 986391C008 for ; Fri, 1 Jul 2011 04:36:39 +0000 (UTC) Received: by qwb7 with SMTP id 7so1908581qwb.40 for ; Thu, 30 Jun 2011 21:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Ke3FVDUMkiSBKFpivix152U10SMStxUWr0uVsE/m4Xk=; b=TXI2110s5JbfFoyJ8NtyOtDIGNMqiolSirGb+G7qN6BRuyMEJ/xdsXS6uNU6C+ufx4 FQc8qKnGbOHwVERWiTJj2bMtD2QfTads4lXXpTHl6GKJsn/kkl4x0CX4jbIOqWg3D2H6 ZI8yOwJR4qY+PYuI0MVcQP76VGiEfuG1xnuFM= 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 Received: by 10.224.195.198 with SMTP id ed6mr2364274qab.228.1309494998802; Thu, 30 Jun 2011 21:36:38 -0700 (PDT) Received: by 10.224.19.204 with HTTP; Thu, 30 Jun 2011 21:36:38 -0700 (PDT) In-Reply-To: <20110630212321.ad403843.frank.peters@comcast.net> References: <20110630174530.9bcbcd47.frank.peters@comcast.net> <20110630200424.0d6d49ef.frank.peters@comcast.net> <20110630212321.ad403843.frank.peters@comcast.net> Date: Thu, 30 Jun 2011 21:36:38 -0700 Message-ID: Subject: Re: [gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems From: Mark Knecht To: gentoo-amd64@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 723958337405594626d92c90a0eaf358 On Thu, Jun 30, 2011 at 6:23 PM, Frank Peters wr= ote: > 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. =C2=A0Such things are apt= ly > 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. =C2=A0But this is not as easy as with the > "tricks." > > Anyway, I'm glad I presented this issue. =C2=A0It has definitely improved > my understanding. =C2=A0GCC has dozens, if not hundreds, of compile optio= ns > and I know the actual function of only a small few. > > Frank Peters > > I think it's completely appropriate for this list. This distro expects that we put CFLAG options in make.conf so I need to hear about this stuff even if I don't have to background to completely understand what's really causing the problem. - Mark