Gentoo Archives: gentoo-amd64

From: Frank Peters <frank.peters@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems
Date: Fri, 01 Jul 2011 01:24:40
Message-Id: 20110630212321.ad403843.frank.peters@comcast.net
In Reply to: [gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems by Duncan <1i5t5.duncan@cox.net>
1 On Fri, 1 Jul 2011 00:58:46 +0000 (UTC)
2 Duncan <1i5t5.duncan@×××.net> wrote:
3
4 >
5 > I had wondered if this might be an "undefined behavior" optimization bug,
6 >
7
8 Well, the amd64 users list may not be the appropriate place to discuss
9 C programming, but the problem here stems from attempting to do things
10 with C that are not supposed to be done with C. Such things are aptly
11 called "tricks" because they stray away from the convention.
12
13 Ideally, I suppose, for these purposes would be to use assembly language
14 routines mixed into the C code. But this is not as easy as with the
15 "tricks."
16
17 Anyway, I'm glad I presented this issue. It has definitely improved
18 my understanding. GCC has dozens, if not hundreds, of compile options
19 and I know the actual function of only a small few.
20
21 Frank Peters

Replies

Subject Author
[gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems Ian McCulloch <ianmcc@××××××××××××××.au>
Re: [gentoo-amd64] Re: GCC-4.5.2 Has Serious Problems Mark Knecht <markknecht@×××××.com>