This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/50444] [4.6/4.7 Regression] -ftree-sra ignores alignment


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50444

--- Comment #17 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-27 14:54:44 UTC ---
Author: rguenth
Date: Fri Jan 27 14:54:37 2012
New Revision: 183629

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183629
Log:
2012-01-27  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/50444
    * expr.c (mem_ref_refers_to_non_mem_p): New function.
    (expand_assignment): Use it.  Properly handle misaligned
    bases when expanding stores to component references.
    (expand_expr_real_1): Use mem_ref_refers_to_non_mem_p and
    refactor that case.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]