]> gcc.gnu.org Git - gcc.git/commitdiff
(objc_alignof_type): Handle _C_PTR case.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 19 Dec 1995 00:31:18 +0000 (19:31 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 19 Dec 1995 00:31:18 +0000 (19:31 -0500)
From-SVN: r10807

gcc/objc/encoding.c

index 811fd3c989cef3fbd1e9026b06c469116454ad73..822c222f8e8670168ac35f6d0ace428d3aa7efc9 100644 (file)
@@ -111,6 +111,7 @@ objc_sizeof_type(const char* type)
     return sizeof(double);
     break;
 
+  case _C_PTR:
   case _C_ATOM:
   case _C_CHARPTR:
     return sizeof(char*);
@@ -217,6 +218,7 @@ objc_alignof_type(const char* type)
     return __alignof__(double);
     break;
 
+  case _C_PTR:
   case _C_ATOM:
   case _C_CHARPTR:
     return __alignof__(char*);
This page took 0.063954 seconds and 5 git commands to generate.