From: Geoffrey Keating Date: Fri, 31 Aug 2001 02:02:42 +0000 (+0000) Subject: longlong.c (alpha_ep_extbl_i_eq_0): Allow for 16-bit 'unsigned int'. X-Git-Tag: prereleases/libstdc++-3.0.95~2336 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d107c59b4bb5a4a8a67f4ebc9b277544005e3b4;p=thirdparty%2Fgcc.git longlong.c (alpha_ep_extbl_i_eq_0): Allow for 16-bit 'unsigned int'. * gcc.c-torture/execute/longlong.c (alpha_ep_extbl_i_eq_0): Allow for 16-bit 'unsigned int'. From-SVN: r45304 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f1624e1c747d..0c46aec484ea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-08-30 Geoffrey Keating + + * gcc.c-torture/execute/longlong.c (alpha_ep_extbl_i_eq_0): Allow + for 16-bit 'unsigned int'. + 2001-08-29 Kazu Hirata * gcc.c-torture/compile/981006-1.x: Do not use -fpic on h8300. diff --git a/gcc/testsuite/gcc.c-torture/execute/longlong.c b/gcc/testsuite/gcc.c-torture/execute/longlong.c index 8e1db84f558d..56f1d8eab107 100644 --- a/gcc/testsuite/gcc.c-torture/execute/longlong.c +++ b/gcc/testsuite/gcc.c-torture/execute/longlong.c @@ -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; {