diff options
author | Ben Elliston <bje@au.ibm.com> | 2011-01-14 21:38:17 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2011-01-14 21:38:17 +0000 |
commit | 2d66a8d3c1a82c617ca073400eeeb6766b64c768 (patch) | |
tree | 67ebae3c812ab72c2de44be51dbf42c836052299 /gcc/objc/objc-act.c | |
parent | aeb459fbd1216642787784587ed45bac5c3f17c3 (diff) | |
download | gcc-2d66a8d3c1a82c617ca073400eeeb6766b64c768.zip gcc-2d66a8d3c1a82c617ca073400eeeb6766b64c768.tar.gz gcc-2d66a8d3c1a82c617ca073400eeeb6766b64c768.tar.bz2 |
objc-act.c (generate_struct_by_value_array): Do not output a definition for struct_forward_array.
2011-01-14 Ben Elliston <bje@au.ibm.com>
* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.
From-SVN: r168823
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r-- | gcc/objc/objc-act.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 6e69070..cfbdb6f 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -558,15 +558,7 @@ generate_struct_by_value_array (void) for (i = 31; i >= 0; i--) if (!aggregate_in_mem[i]) break; - printf ("#define OBJC_MAX_STRUCT_BY_VALUE %d\n\n", i); - - /* The first member of the structure is always 0 because we don't handle - structures with 0 members */ - printf ("static int struct_forward_array[] = {\n 0"); - - for (j = 1; j <= i; j++) - printf (", %d", aggregate_in_mem[j]); - printf ("\n};\n"); + printf ("#define OBJC_MAX_STRUCT_BY_VALUE %d\n", i); } exit (0); |