[Bug target/57637] Miscompare on 178.galgel in SPEC2000 on arm
zhenqiang.chen at linaro dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 21 05:13:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #4 from zhenqiang.chen at linaro dot org ---
Root cause:
For ARM, gcc might generate cond_exec insns before shrink-wrapping. But
DF_LR_BB_INFO (bb)->def does not include def info from cond_exec insns. So the
check in function move_insn_for_shrink_wrap is not enough.
We'd check DF_LIVE_BB_INFO (bb)->gen.
Kyrill,
Please try the attached patch. If it works, I will send it for community
review.
Thanks!
-Zhenqiang
More information about the Gcc-bugs
mailing list