Fix c6x test compromised by recent improvements to bswap & rotates
gcc/testsuite * gcc.target/tic6x/rotdi16-scan.c: Pull rotate into its own function.
This commit is contained in:
parent
e9b639c4b5
commit
fd26ce8398
1 changed files with 6 additions and 2 deletions
|
@ -7,10 +7,14 @@
|
|||
|
||||
unsigned long long z = 0x012389ab4567cdefull;
|
||||
|
||||
unsigned long long __attribute__ ((noinline,noclone,noipa)) bar ()
|
||||
{
|
||||
return (z << 48) | (z >> 16);
|
||||
}
|
||||
|
||||
int main ()
|
||||
{
|
||||
unsigned long long z2 = (z << 48) | (z >> 16);
|
||||
if (z2 != 0xcdef012389ab4567ull)
|
||||
if (bar() != 0xcdef012389ab4567ull)
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue