diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-08-31 02:02:42 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-08-31 02:02:42 +0000 |
commit | 2d107c59b4bb5a4a8a67f4ebc9b277544005e3b4 (patch) | |
tree | 56c09ccd31ae5ffcb8d2fe6d251706250be8faa2 | |
parent | ed09481d0d29570228d78931cf6b4507b0ad375c (diff) | |
download | gcc-2d107c59b4bb5a4a8a67f4ebc9b277544005e3b4.zip gcc-2d107c59b4bb5a4a8a67f4ebc9b277544005e3b4.tar.gz gcc-2d107c59b4bb5a4a8a67f4ebc9b277544005e3b4.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/longlong.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f1624e1..0c46aec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.c-torture/execute/longlong.c b/gcc/testsuite/gcc.c-torture/execute/longlong.c index 8e1db84..56f1d8e 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; { |