--- gcc/objc/encoding.c 2018/04/24 18:20:13 1.1.1.2 +++ gcc/objc/encoding.c 2018/04/24 18:26:49 1.1.1.3 @@ -1,7 +1,6 @@ /* Encoding of types for Objective C. - Copyright (C) 1993 Free Software Foundation, Inc. - -Author: Kresten Krab Thorup + Copyright (C) 1993, 1995 Free Software Foundation, Inc. + Contributed by Kresten Krab Thorup This file is part of GNU CC. @@ -17,7 +16,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* As a special exception, if you link this library with files compiled with GCC to produce an executable, this does not cause @@ -64,7 +64,7 @@ objc_sizeof_type(const char* type) break; case _C_CLASS: - return sizeof(Class*); + return sizeof(Class); break; case _C_SEL: @@ -171,7 +171,7 @@ objc_alignof_type(const char* type) break; case _C_CLASS: - return __alignof__(Class*); + return __alignof__(Class); break; case _C_SEL: @@ -282,7 +282,7 @@ objc_promoted_size (const char* type) /* Skip type qualifiers. These may eventually precede typespecs - occuring in method prototype encodings. + occurring in method prototype encodings. */ inline const char*