tree.c (int_fits_type_p): A narrower type always fits in a wider one...
authorRoger Sayle <roger@eyesopen.com>
Sat, 1 Jan 2005 20:33:28 +0000 (20:33 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 1 Jan 2005 20:33:28 +0000 (20:33 +0000)
commit91c537b758841f4dbcf29b4a26bfc2d20c6c52ee
treedabb115839d326d5afb180d661686ff9d70acb98
parent69618c4943a871cbb938196afa968158dc9b0d11
tree.c (int_fits_type_p): A narrower type always fits in a wider one...

* tree.c (int_fits_type_p): A narrower type always fits in a
wider one, except for negative values into unsigned types.

Co-Authored-By: Olivier Hainque <hainque@act-europe.fr>
From-SVN: r92788
gcc/ChangeLog
gcc/tree.c