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 middle-end/64516] [4.9/5/6/7 Regression] arm: wrong unaligned load generated


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64516

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 13 07:34:45 2016
New Revision: 237355

URL: https://gcc.gnu.org/viewcvs?rev=237355&root=gcc&view=rev
Log:
2016-06-13  Richard Biener  <rguenther@suse.de>

        PR middle-end/64516
        * fold-const.c (fold_unary_loc): Preserve alignment when
        folding a VIEW_CONVERT_EXPR into a MEM_REF.

        * gcc.dg/align-3.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/align-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog

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