[Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 29 13:37:00 GMT 2016


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

--- Comment #2 from ktkachov at gcc dot gnu.org ---
The function that changes is:
test_corners_sisd_si (Int32x1 b)
{
  force_simd_si (b);
  b = b >> 31;
  force_simd_si (b);
  b = b >> 0;
  b += b >> 33; /* { dg-warning "right shift count >= width of type" } */

  return b;
}

basically, it moves the value back into the integer registers and performs the
shift there.
This shift right by 33 is undefined anyway, so this testcase is bogus. We
should just remove it.


More information about the Gcc-bugs mailing list