diff options
author | Bernd Schmidt <bernds@redhat.com> | 2016-02-16 14:42:59 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2016-02-16 14:42:59 +0000 |
commit | 6d87c306c6a44f8db81a9a9f2f5de4d943d5e57f (patch) | |
tree | dbf7d36597ac5ae73d49e21deb2e911e80dc3d48 /gcc/tree-ssa-alias.c | |
parent | 8f3304d019bd1f9a8eb08b9dba3a430a59f52994 (diff) | |
download | gcc-6d87c306c6a44f8db81a9a9f2f5de4d943d5e57f.zip gcc-6d87c306c6a44f8db81a9a9f2f5de4d943d5e57f.tar.gz gcc-6d87c306c6a44f8db81a9a9f2f5de4d943d5e57f.tar.bz2 |
Fix bswap optimization on big-endian (PR69714, 67781).
PR tree-optimization/69714
* tree-ssa-math-opts.c (find_bswap_or_nop): Revert previous change.
Return NULL if we have irrelevant high bytes on BIG_ENDIAN.
testsuite/
PR tree-optimization/69714
* gcc.dg/torture/pr69714.c: New test.
From-SVN: r233452
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions