bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug rtl-optimization/28096] [4.2 regression] fdlibm/strtod.c miscompile


From: ebotcazou at gcc dot gnu dot org
Subject: [Bug rtl-optimization/28096] [4.2 regression] fdlibm/strtod.c miscompiled at -O2
Date: 29 Sep 2006 20:40:48 -0000


------- Comment #19 from ebotcazou at gcc dot gnu dot org  2006-09-29 20:40 
-------
> I don't think this bug has anything to do with excess precision.  Valgrind
> shows that, when compiled at -O2, we are reading from uninitialized memory.

Confirmed:

        andl    -144(%ebp), %ebx  <--- bogus value in %ebx
        movl    %eax, -144(%ebp)

Swap the lines and all works fine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28096





reply via email to

[Prev in Thread] Current Thread [Next in Thread]