Fixed compilation of bitfields of enumerations in args and ivars
authorNicola Pero <nicola@gcc.gnu.org>
Wed, 12 Dec 2001 10:41:48 +0000 (10:41 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Wed, 12 Dec 2001 10:41:48 +0000 (10:41 +0000)
From-SVN: r47928

gcc/objc/objc-act.c

index 3c696ac..31eb05f 100644 (file)
@@ -6832,7 +6832,8 @@ encode_complete_bitfield (int position, tree type, int size)
            charType = 'q';
        }
     }
-
+  else if (code == ENUMERAL_TYPE)
+    charType = 'i';
   else
     abort ();