From 2d107c59b4bb5a4a8a67f4ebc9b277544005e3b4 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Fri, 31 Aug 2001 02:02:42 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/longlong.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f1624e1c747..0c46aec484e 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 8e1db84f558..56f1d8eab10 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; {