This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30825] [4.3 Regression] current mainline fails to bootstrap with --with-arch=athlon64
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2007 10:22:27 -0000
- Subject: [Bug target/30825] [4.3 Regression] current mainline fails to bootstrap with --with-arch=athlon64
- References: <bug-30825-14115@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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