aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2008-04-28 11:45:26 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-04-28 11:45:26 +0200
commit623f8e39bcc1b8dd61a815b992ccdcb65ffe4eff (patch)
tree37249f8b6b4632747ea172b9860309ecc5ad4c27 /gcc/dwarf2out.c
parent0e8d83837e0c00a7bd52deedd2e3ed691f703310 (diff)
downloadgcc-623f8e39bcc1b8dd61a815b992ccdcb65ffe4eff.zip
gcc-623f8e39bcc1b8dd61a815b992ccdcb65ffe4eff.tar.gz
gcc-623f8e39bcc1b8dd61a815b992ccdcb65ffe4eff.tar.bz2
re PR debug/36060 (Too big stack requirements of cc1plus during GC)
PR debug/36060 * dwarf2out.c (struct die_struct): Mark as chain_circular through die_sub field. * gengtype.c (walk_type, write_func_for_structure): Handle chain_circular. * doc/gty.texi: Document chain_circular. From-SVN: r134750
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 83b3fb5..cdf5250 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3837,7 +3837,7 @@ DEF_VEC_ALLOC_O(dw_attr_node,gc);
The children of each node form a circular list linked by
die_sib. die_child points to the node *before* the "first" child node. */
-typedef struct die_struct GTY(())
+typedef struct die_struct GTY((chain_circular ("%h.die_sib")))
{
enum dwarf_tag die_tag;
char *die_symbol;