re PR tree-optimization/42587 (bswap not recognized for memory)
authorRichard Biener <rguenther@suse.de>
Fri, 13 May 2016 12:27:18 +0000 (12:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 13 May 2016 12:27:18 +0000 (12:27 +0000)
commit8ab3bdac33672a2ec681e8d57869830fdcaffd0e
tree96009fea42a0010c478452c737b7da940e24955b
parent310aba3bbe9b1e053ec90d92ed5a58d24cde3b85
re PR tree-optimization/42587 (bswap not recognized for memory)

2016-05-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/42587
* tree-ssa-math-opts.c (perform_symbolic_merge): Handle BIT_FIELD_REF.
(find_bswap_or_nop_1): Likewise.
(bswap_replace): Likewise.

* gcc.dg/optimize-bswapsi-4.c: New testcase.

From-SVN: r236204
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/optimize-bswapsi-4.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c