]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
longlong.c (alpha_ep_extbl_i_eq_0): Allow for 16-bit 'unsigned int'.
authorGeoffrey Keating <geoffk@redhat.com>
Fri, 31 Aug 2001 02:02:42 +0000 (02:02 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 31 Aug 2001 02:02:42 +0000 (02:02 +0000)
* gcc.c-torture/execute/longlong.c (alpha_ep_extbl_i_eq_0): Allow
for 16-bit 'unsigned int'.

From-SVN: r45304

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/longlong.c

index f1624e1c747dd740bdb5f10b0d3f419c5a58caf9..0c46aec484ea34864e177af9e56fff904ff50828 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
+
+       * gcc.c-torture/execute/longlong.c (alpha_ep_extbl_i_eq_0): Allow
+       for 16-bit 'unsigned int'.
+
 2001-08-29  Kazu Hirata  <kazu@hxi.com>
 
        * gcc.c-torture/compile/981006-1.x: Do not use -fpic on h8300.
index 8e1db84f558d51646466fa15f97da514f8fdff42..56f1d8eab107ca7506e77fe9d2f46e8636236490 100644 (file)
@@ -10,7 +10,7 @@ void alpha_ep_extbl_i_eq_0()
 {
   unsigned int rb, ra, rc;
 
-  rb  = (((unsigned int)(pars) >> 27)) & 0x1fUL;
+  rb  = (((unsigned long)(pars) >> 27)) & 0x1fUL;
   ra  = (((unsigned int)(pars) >> 5)) & 0x1fUL;
   rc  = (((unsigned int)(pars) >> 0)) & 0x1fUL;
   {