This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/30825] [4.3 Regression] current mainline fails to bootstrap with --with-arch=athlon64



------- Comment #3 from ubizjak at gmail dot com  2007-02-23 10:22 -------
There is something wrong in combine_predictions_for_insn(). Perhaps stack gets
corrupted, but from the comment:

        /* Use FP math to avoid overflows of 32bit integers.  */

combined_probability variable is _sometimes_ calculated as nan. Tracing through
asm, it looks that it happens because fildl from stack loads 0x00001388, pushed
to stack earlier.

BTW: For some reason gdb can't trace through this source, so it is really
something strange going on.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]