This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

non-c89 code in bitmap.c


My understanding is that the code is supposed to be c89.  Some that 
isn't has crept into bitmap.c recently; here is a fix.  OK?


2001-06-22   Dale Johannesen    <dalej@apple.com>

         * bitmap.c:  fix a non-c89 usage (null actual argument to macro)

Index: bitmap.c
===================================================================
RCS file: /cvs/repository/CoreTools/gcc3/gcc/bitmap.c,v
retrieving revision 1.1.1.3
diff -u -d -b -w -r1.1.1.3 bitmap.c
--- bitmap.c    2001/06/21 17:57:08     1.1.1.3
+++ bitmap.c    2001/06/22 19:13:23
@@ -707,7 +707,7 @@
       bitmap a;
  {
    int i;
-  EXECUTE_IF_SET_IN_BITMAP (a, 0, i, );
+  EXECUTE_IF_SET_IN_BITMAP (a, 0, i, ;);
    if (bitmap_bit_p (a, i))
      return i;
    return -1;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]