GCC bug

Steve Flynn anothermindbomb at gmail.com
Tue Nov 20 12:31:26 UTC 2007

On Nov 19, 2007 6:06 PM, Unai Uribarri <unaiur at gmail.com> wrote:
> I've filled a bug report in the lauchpad six weeks ago,
> https://bugs.launchpad.net/ubuntu/+source/gcc-4.1/+bug/158799.
> GCC is generating bad code when compiled with -O2. I believe that it's an
> important issue, but so far the bug report has attracted no attention.

Actually, upon lookling at your code on launchpad, I suspect you are
falling victim to improper aliasing. You should refer to the ISO
standard for more information on the rules for aliasing and compiler

If the code works as expected without Optimzation, I'd suspect your
code before I'd suspect GCC...

When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called Religion.

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

More information about the ubuntu-users mailing list