diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2016-01-08 09:21:19 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2016-01-08 09:21:19 +0000 |
commit | 80e9b3aaac461dac31b8a3990ac6e820d5bce54d (patch) | |
tree | d1c49541c8f65f13e5506de1ce8fd3b3535f1404 /gcc/tree-stdarg.c | |
parent | 262a363ff9f03262fe5a8420fa53bd10cb4306d6 (diff) | |
download | gcc-80e9b3aaac461dac31b8a3990ac6e820d5bce54d.zip gcc-80e9b3aaac461dac31b8a3990ac6e820d5bce54d.tar.gz gcc-80e9b3aaac461dac31b8a3990ac6e820d5bce54d.tar.bz2 |
re PR tree-optimization/67781 (wrong code generated on big-endian with -O1 -fexpensive-optimizations)
2016-01-08 Thomas Preud'homme <thomas.preudhomme@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.
From-SVN: r232154
Diffstat (limited to 'gcc/tree-stdarg.c')
0 files changed, 0 insertions, 0 deletions