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

            Bug ID: 64436
           Summary: optimize-bswapdi-3.c fails on aarch64_be-none-elf
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thopre01 at gcc dot gnu.org

gcc.dg/optimize-bswapdi-3.c started to fail about 2 weeks ago. Investigation
shows that the way bswap create the symbolic number that corresponds to a
bitwise OR is broken for big endian target. There also seems to be some bug in
the computation of the "range" (in bswap terms) of that same symbolic number.

Here is the the testsuite log:

FAIL: gcc.dg/optimize-bswapdi-3.c scan-tree-dump-times bswap "64 bit bswap
implementation found at" 3
FAIL: gcc.dg/optimize-bswapdi-3.c scan-tree-dump-times bswap "64 bit load in
target endianness found at" 3

Reply via email to