http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #8 from ktkachov at gcc dot gnu.org ---
(In reply to zhenqiang.chen from comment #7)
> Created attachment 30364 [details]
> update patch
>
>
> Please try the updated patch. Local tests: x86-64 and pandaboard bootstrap
This fixes the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #7 from zhenqiang.chen at linaro dot org ---
Created attachment 30364
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30364&action=edit
update patch
Please try the updated patch. Local tests: x86-64 and pandaboard bootstrap OK.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
Mikael Pettersson changed:
What|Removed |Added
CC||mikpe at it dot uu.se
--- Comment #6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #5 from ktkachov at gcc dot gnu.org ---
> Please try the attached patch. If it works, I will send it for community
> review.
Hi Zhenqiang,
This seems to fix the miscompare on my setup, thanks!
I haven't ran a full regression test on
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #3 from zhenqiang.chen at linaro dot org ---
Created attachment 30330
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30330&action=edit
pr57637.patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #2 from ktkachov at gcc dot gnu.org ---
Thanks, Zhenqiang.
For me, it's a segfault in function DGETF2. gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0001d964 in dgetf2_ ()
(gdb) bt
#0 0x0001d964 in dgetf2_ ()
#
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57637
--- Comment #1 from zhenqiang.chen at linaro dot org ---
I had reproduced it on chrome book. It failed due to "alignment exception" for
O3.
I will do more investigation.
If this bug blocks your work, please try "-fno-shrink-wrap" to disable the