]> gcc.gnu.org Git - gcc.git/commitdiff
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 3c696acdbcbdcb10cf97999444a767995fff2633..31eb05fc83e54c7175ceb9d366ab9aba3765903d 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 ();
 
This page took 0.062658 seconds and 5 git commands to generate.