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 |