https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63266
Bug ID: 63266 Summary: [5 Regression] Test regression: gcc.target/sh/pr53568-1.c Product: gcc Version: 5.0 URL: https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00777.ht ml Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: thopre01 at gcc dot gnu.org CC: olegendo at gcc dot gnu.org, su at cs dot ucdavis.edu, thomas.preudhomme at arm dot com, thopre01 at gcc dot gnu.org Depends on: 61306 +++ This bug was initially created as a clone of Bug #61306 +++ This bug is to track the problem raised in comment 10 of bug #61306. Extract of the comment: It seems that after this commit, one SH bswap32 test started to fail. Comparing the two test reports: https://gcc.gnu.org/ml/gcc-testresults/2014-06/msg00961.html https://gcc.gnu.org/ml/gcc-testresults/2014-06/msg01086.html shows a new failure for gcc.target/sh/pr53568-1.c. The function int test_func_02 (int a) { /* 1x swap.w 2x swap.b */ return (((a >> 0) & 0xFF) << 24) | (((a >> 8) & 0xFF) << 16) | (((a >> 16) & 0xFF) << 8) | (((a >> 24) & 0xFF) << 0); } now fails to produce a bswap32.