https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122955

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
One thing I noticed is TOPLEVEL_ASM could use chain_next Like this:
```
[apinski@xeond2 gcc]$ git diff cgraph.h
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 313610fbe2c..d4c548fb8ef 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -2241,7 +2241,7 @@ private:

 /* Every top level asm statement is put into a asm_node.  */

-struct GTY ((tag ("TOPLEVEL_ASM"))) asm_node: public toplevel_node {
+struct GTY ((tag ("TOPLEVEL_ASM"), chain_next("%h.next"))) asm_node: public
toplevel_node {
   explicit asm_node (tree asm_str)
     : toplevel_node (TOPLEVEL_ASM), next (NULL), asm_str (asm_str)
   {}

```

Reply via email to