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

--- Comment #14 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Fri Jan  8 09:21:19 2016
New Revision: 232154

URL: https://gcc.gnu.org/viewcvs?rev=232154&root=gcc&view=rev
Log:
2016-01-08  Thomas Preud'homme  <thomas.preudho...@arm.com>

    gcc/
    PR tree-optimization/67781
    * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
    and cmpnop in two steps: first the ones not accessed in original
    gimple expression in a endian independent way and then the ones not
    accessed in the final result in an endian-specific way.

    gcc/testsuite/
    PR tree-optimization/67781
    * gcc.c-torture/execute/pr67781.c: New file.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr67781.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c

Reply via email to