Commit 9633a6ac by Andrew Pinski Committed by Andrew Pinski

re PR ada/17986 (Compile error for make.adb breaks bootstrap)

2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR ada/17986
        * ada-tree.h (lang_tree_node): Set chain_next to be the chain of the
        tree.

From-SVN: r91013
parent b6a4e963
2004-11-22 Andrew Pinski <pinskia@physics.uc.edu>
PR ada/17986
* ada-tree.h (lang_tree_node): Set chain_next to be the chain of the
tree.
2004-11-21 Andreas Jaeger <aj@suse.de> 2004-11-21 Andreas Jaeger <aj@suse.de>
* stylesw.adb: Change Style_Check_Subprogram_Order to * stylesw.adb: Change Style_Check_Subprogram_Order to
......
...@@ -34,7 +34,11 @@ enum gnat_tree_code { ...@@ -34,7 +34,11 @@ enum gnat_tree_code {
#undef DEFTREECODE #undef DEFTREECODE
/* Ada uses the lang_decl and lang_type fields to hold a tree. */ /* Ada uses the lang_decl and lang_type fields to hold a tree. */
union lang_tree_node GTY((desc ("0"))) {union tree_node GTY((tag ("0"))) t; }; union lang_tree_node GTY((desc ("0"),
chain_next ("(union lang_tree_node *)TREE_CHAIN (&%h.t)")))
{
union tree_node GTY((tag ("0"))) t;
};
struct lang_decl GTY(()) {tree t; }; struct lang_decl GTY(()) {tree t; };
struct lang_type GTY(()) {tree t; }; struct lang_type GTY(()) {tree t; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment