fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if the EXPR...
authorAndrew Pinski <pinskia@physics.uc.edu>
Sun, 13 Jun 2004 22:15:51 +0000 (22:15 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 13 Jun 2004 22:15:51 +0000 (15:15 -0700)
commita40de696ac0207908f22b2b50330e22e86e45329
treefb674db0c88cd83c47b51eb697f13cb87d395920
parentd29647a46cd2396c11366309a3e3c19b85f3d499
fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE.

2004-06-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * fold-const.c (fold_checksum_tree <case 't'>): Only
        look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE.
        Only look at TYPE_MIN_VALUE and TYPE_MAX_VALUE if
        EXPR is an INTEGERAL_TYPE or a scalar float type.

From-SVN: r83068
gcc/ChangeLog
gcc/fold-const.c