This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50444] [4.6/4.7 Regression] -ftree-sra ignores alignment
- 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, 20 Jan 2012 14:16:25 +0000
- Subject: [Bug tree-optimization/50444] [4.6/4.7 Regression] -ftree-sra ignores alignment
- Auto-submitted: auto-generated
- References: <bug-50444-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50444
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
--- Comment #15 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-20 14:16:25 UTC ---
Created attachment 26395
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26395
other candidate patch
I'm testing the following patch instead, which avoids changing access types
for all-scalar across-link propagations (we're going to create proper V_C_Es
later). I also remove the fancy code that tries to avoid adding V_C_Es,
it looks it will cause more trouble than missed-optimizations.
That way we completely avoid needing to care for alignment at that particular
places. Whether the aggregate copy across-link propagation is affected in
a similar way remains to be seen.
I'll see if I run into the same issue as you and investigate that.