tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of MARKER_BYTE_UNKNOWN marke...
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 21 Oct 2014 12:38:36 +0000 (12:38 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 21 Oct 2014 12:38:36 +0000 (12:38 +0000)
commite4d2f1db862e08562182369ee989f521070e456e
tree0345b4b0f0f59e5f5483b3a56bd092376285a9df
parent1a6230a84d35f4497feffa01b0e9926ce776f4e9
tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of MARKER_BYTE_UNKNOWN markers when handling casts.

2014-10-21  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of
    MARKER_BYTE_UNKNOWN markers when handling casts.

    gcc/testsuite/
    * gcc.dg/optimize-bswaphi-1.c: New bswap pass test.

From-SVN: r216511
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/optimize-bswaphi-1.c
gcc/tree-ssa-math-opts.c