This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC optimization oddity
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