This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49599] FRE/DSE not performing well on aggregates
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Dec 2011 09:18:40 +0000
- Subject: [Bug tree-optimization/49599] FRE/DSE not performing well on aggregates
- Auto-submitted: auto-generated
- References: <bug-49599-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49599
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-16 09:18:40 UTC ---
FRE does not handle removal of redundant aggregate stores, so it does not
remove the aggregate assignment
*p_1(D) = l;
DSE does not handle redundant store removal either, and the store is
obviously not dead.
I think SRA should remove the aggregate store.