This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/25354] There should be an automated testsuite for objc_sizeof_type and objc_alignof_type
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2005 05:47:58 -0000
- Subject: [Bug libobjc/25354] There should be an automated testsuite for objc_sizeof_type and objc_alignof_type
- References: <bug-25354-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-12 05:47 -------
Subject: Bug 25354
Author: pinskia
Date: Mon Dec 12 05:47:52 2005
New Revision: 108398
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108398
Log:
2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/25354
* objc.dg/gnu-encoding: New directory.
* objc.dg/gnu-encoding/compat-common.h: New file.
* objc.dg/gnu-encoding/struct-layout-1.h: New file.
* objc.dg/gnu-encoding/struct-layout-1_test.h: New file.
* objc.dg/gnu-encoding/vector-defs.h: New file.
* objc.dg/gnu-encoding/gnu-encoding.exp: New file.
* objc.dg/gnu-encoding/generate-random.c: New file.
* objc.dg/gnu-encoding/generate-random_r.c: New file.
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c: New file.
* objc.dg/gnu-encoding/generate-random.h: New file.
2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
* encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
the name.
(get_inner_array_type): Fix to skip over _C_ARY_B and size.
(rs6000_special_round_type_align): Update for the ABI fix.
(objc_layout_finish_structure): Correct the encoding which is passed to
ROUND_TYPE_ALIGN.
Added:
trunk/gcc/testsuite/objc.dg/gnu-encoding/
trunk/gcc/testsuite/objc.dg/gnu-encoding/compat-common.h
trunk/gcc/testsuite/objc.dg/gnu-encoding/generate-random.c
trunk/gcc/testsuite/objc.dg/gnu-encoding/generate-random.h
trunk/gcc/testsuite/objc.dg/gnu-encoding/generate-random_r.c
trunk/gcc/testsuite/objc.dg/gnu-encoding/gnu-encoding.exp
trunk/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-1.h
trunk/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-1_test.h
trunk/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
trunk/gcc/testsuite/objc.dg/gnu-encoding/vector-defs.h
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libobjc/ChangeLog
trunk/libobjc/encoding.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25354