while (++p < limit);
nelts = table->nelements;
- overhead = obstack_memory_used (&table->stack) - total_bytes;
headers = table->nslots * sizeof (hashnode);
fprintf (stderr, "\nString pool\nentries\t\t%lu\n",
(unsigned long) table->nslots);
fprintf (stderr, "deleted\t\t%lu\n",
(unsigned long) deleted);
- fprintf (stderr, "bytes\t\t%lu%c (%lu%c overhead)\n",
- SCALE (total_bytes), LABEL (total_bytes),
- SCALE (overhead), LABEL (overhead));
+
+ if (table->alloc_subobject)
+ fprintf (stderr, "GGC bytes\t%lu%c\n",
+ SCALE (total_bytes), LABEL (total_bytes));
+ else
+ {
+ overhead = obstack_memory_used (&table->stack) - total_bytes;
+ fprintf (stderr, "obstack bytes\t%lu%c (%lu%c overhead)\n",
+ SCALE (total_bytes), LABEL (total_bytes));
+ }
fprintf (stderr, "table size\t%lu%c\n",
SCALE (headers), LABEL (headers));