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 target/71727] -O3 -mstrict-align produces code which assumes unaligned vector accesses work


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

--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Author: clyon
Date: Fri Oct  6 07:38:51 2017
New Revision: 253477

URL: https://gcc.gnu.org/viewcvs?rev=253477&root=gcc&view=rev
Log:
[AArch64] Backport to gcc-7 PR71727 fix -mstrict-align

2017-10-06  Christophe Lyon  <christophe.lyon@linaro.org>

        gcc/
        Backport from mainline r253242.
        2017-09-27  Christophe Lyon  <christophe.lyon@linaro.org>

        PR target/71727
        * config/aarch64/aarch64.c
        (aarch64_builtin_support_vector_misalignment): Always return false
        when misalignment is unknown.

        gcc/testsuite/
        Backport from mainline r253251.
        2017-09-27  Christophe Lyon  <christophe.lyon@linaro.org>

        PR target/71727
        * gcc.target/aarch64/pr71727-2.c: New test.



Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/aarch64/pr71727-2.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/aarch64/aarch64.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

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