This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Feb 2016 13:37:35 +0000
- Subject: [Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4
- Auto-submitted: auto-generated
- References: <bug-70004-4 at http dot gcc dot gnu dot org/bugzilla/>
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.