* fold-const.c (fold_unary_to_constant): Add FIX_ROUND_EXPR case.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 9 Mar 2005 20:09:08 +0000 (20:09 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 9 Mar 2005 20:09:08 +0000 (20:09 +0000)
From-SVN: r96204

gcc/ChangeLog
gcc/fold-const.c

index e969a7b17af438594d06dad5c7e701db75b879bb..e90219878e6a2a83acf487e7d962b9a7bcb5b447 100644 (file)
@@ -1,3 +1,7 @@
+2005-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * fold-const.c (fold_unary_to_constant): Add FIX_ROUND_EXPR case.
+
 2005-03-09  Kazu Hirata  <kazu@cs.umass.edu>
 
        * fold-const.c (fold_unary, fold_binary, fold_ternary): Return
index 6d099d9db9d69a98562d5609430d5ff551c9da96..38fb95d5cfb28121f0f19e2b8142d7abb792d101 100644 (file)
@@ -11126,6 +11126,7 @@ fold_unary_to_constant (enum tree_code code, tree type, tree op0)
     case FIX_TRUNC_EXPR:
     case FIX_FLOOR_EXPR:
     case FIX_CEIL_EXPR:
+    case FIX_ROUND_EXPR:
       return fold_convert_const (code, type, op0);
 
     case NEGATE_EXPR: