This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/70128] Linux kernel div patching optimized away
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Mar 2016 21:54:02 +0000
- Subject: [Bug tree-optimization/70128] Linux kernel div patching optimized away
- Auto-submitted: auto-generated
- References: <bug-70128-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128
--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Shouldn't the call to v7_coherent_kern_range prevent DSE from removing the
store to fn_addr[0] and fn_addr[1]?
It feels like the undefined nature of this code is leading to a lack of proper
dataflow for the virtual operands. I haven't thrown it under a debugger, but
that's how it seems as first glance to me.