PR tree-optimization/22360
commit59653f01a8b8a7156962be7216653d0ce0062d79
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jul 2005 18:49:05 +0000 (8 18:49 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jul 2005 18:49:05 +0000 (8 18:49 +0000)
tree2b169e2dac4a9fc33a703bd4fb0f2964c782273a
parent1737b88ca8f5c70581394b5f0391b70ce5fbf39d
PR tree-optimization/22360
* tree.c (upper_bound_in_type): Fix calculations for casting
to a non-wider signed type and casting a signed value to a
wider unsigned type.
(lower_bound_in_type): Fix calculations for casting to a
non-wider signed type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101785 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree.c