GCC optimization oddity

Giovanni Bajo rasky@develer.com
Sat Oct 15 17:23:00 GMT 2005


Prosun Niyogi <pniyogi@us.ibm.com> wrote:

> i.  gcc -S gcc-bug.c -Os -DHAHA; md5sum gcc-bug.s
> ii. gcc -S gcc-bug.c -Os -DHAHA -DBLAH -DAKS -DJKAHSD; md5sum gcc-bug.s
>
> As you can tell, the -D macros are bogus, and I would expect the md5sums
> from each compile to match. But they dont. The diff of the resulting
> assembly is as follows:

I can't reproduce this with a newer GCC version. If  you still see it,
please submit a bugreport following the guidelines at
http://gcc.gnu.org/bugs.html.
-- 
Giovanni Bajo



More information about the Gcc mailing list