From: Andre Vieira Date: Wed, 21 Dec 2016 15:16:53 +0000 (+0000) Subject: [ARM] Updating testcase unsigned-extend-2.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d44c551c2114dac14bea5dadf57d9aee899692f;p=gcc.git [ARM] Updating testcase unsigned-extend-2.c gcc/testsuite/ChangeLog: 2016-12-21 Andre Vieira * gcc.target/arm/unsigned-extend-2.c: Update testcase. From-SVN: r243858 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a6599d7708f..962f27b78c3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-12-21 Andre Vieira + + * gcc.target/arm/unsigned-extend-2.c: Update testcase. + 2016-12-21 Martin Liska PR driver/78863 diff --git a/gcc/testsuite/gcc.target/arm/unsigned-extend-2.c b/gcc/testsuite/gcc.target/arm/unsigned-extend-2.c index b610b73617d..5668eb1eac4 100644 --- a/gcc/testsuite/gcc.target/arm/unsigned-extend-2.c +++ b/gcc/testsuite/gcc.target/arm/unsigned-extend-2.c @@ -2,13 +2,13 @@ /* { 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; }