]> gcc.gnu.org Git - gcc.git/commitdiff
trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to build_int_cst.
authorSteven G. Kargl <kargls@comcast.net>
Wed, 3 Jan 2007 03:44:15 +0000 (03:44 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 3 Jan 2007 03:44:15 +0000 (03:44 +0000)
2007-01-02  Steven G. Kargl  <kargls@comcast.net>

* trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
build_int_cst.

From-SVN: r120379

gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c

index 9ecef064d44fc25c8eda46c33105965e55ad7269..90336b63a77b080a89934096d2419f3901bc0512 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-02  Steven G. Kargl  <kargls@comcast.net>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to
+       build_int_cst.
+
 2007-01-02  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/30276
index c10e9e5732f5fa38189f6909080222cac6efbf6c..2c031748966b81fdcc2104752161342a5cea7b7e 100644 (file)
@@ -2331,7 +2331,7 @@ gfc_conv_intrinsic_ibits (gfc_se * se, gfc_expr * expr)
   arg2 = TREE_VALUE (arg2);
   type = TREE_TYPE (arg);
 
-  mask = build_int_cst (NULL_TREE, -1);
+  mask = build_int_cst (type, -1);
   mask = build2 (LSHIFT_EXPR, type, mask, arg3);
   mask = build1 (BIT_NOT_EXPR, type, mask);
 
This page took 0.076815 seconds and 5 git commands to generate.