gcc/testsuite/ChangeLog:
2016-12-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/unsigned-extend-2.c: Update testcase.
From-SVN: r243858
+2016-12-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ * gcc.target/arm/unsigned-extend-2.c: Update testcase.
+
2016-12-21 Martin Liska <mliska@suse.cz>
PR driver/78863
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-O" } */
-unsigned short foo (unsigned short x)
+unsigned short foo (unsigned short x, unsigned short c)
{
unsigned char i = 0;
for (i = 0; i < 8; i++)
{
x >>= 1;
- x &= 0x7fff;
+ x &= c;
}
return x;
}