[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20100805-1.c
blob5b476960ed7beef2644a33d5d35bd7479e035395
1 unsigned int foo (unsigned int a, unsigned int b)
3 unsigned i;
4 a = a & 1;
5 for (i = 0; i < b; ++i)
6 a = a << 1 | a >> (sizeof (unsigned int) * 8 - 1);
7 return a;
9 extern void abort (void);
10 int main()
12 if (foo (1, sizeof (unsigned int) * 8 + 1) != 2)
13 abort ();
14 return 0;