This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 17:50:07 +0000
- Subject: [Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction
- Auto-submitted: auto-generated
- References: <bug-53975-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |abel at gcc dot gnu.org
--- Comment #10 from Alexander Monakov <amonakov at gcc dot gnu.org> 2012-07-19 17:50:07 UTC ---
AFAICS speculating an assignment to a branch register should be rejected by
sched_insn_is_legitimate_for_speculation_p in sched-deps.c, but it does not
fall into any of the cases tested there. Consequently, I suppose it's not
specific to sel-sched, just haifa schedules those regions differently and does
not produce those speculative loads.
I wonder how this bug managed to stay latent all these years :)