aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-04-23 01:13:36 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-04-22 18:13:36 -0700
commit1be52f615947c3a1768e54243623382dc6943812 (patch)
treeb409e5684847477cd7f71c222174eb049d8a49c7 /gcc
parent6cd5b96f394a26f96b2fcc160267ea323682c8d5 (diff)
downloadgcc-1be52f615947c3a1768e54243623382dc6943812.zip
gcc-1be52f615947c3a1768e54243623382dc6943812.tar.gz
gcc-1be52f615947c3a1768e54243623382dc6943812.tar.bz2
re PR ada/31660 ('union lang_tree_node' has no member named 'generic')
2007-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR ada/31660 * ada-tree.h (lang_tree_node): Fix typo in chain_next. From-SVN: r124052
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/ada-tree.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 2ba34f3..ef55b79 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ PR ada/31660
+ * ada-tree.h (lang_tree_node): Fix typo in chain_next.
+
2007-04-21 Jan Hubicka <jh@suse.cz>
* misc.c (gnat_expand_body): Don't call target for destructors,
diff --git a/gcc/ada/ada-tree.h b/gcc/ada/ada-tree.h
index 358ceca..e333d0f 100644
--- a/gcc/ada/ada-tree.h
+++ b/gcc/ada/ada-tree.h
@@ -36,7 +36,7 @@ enum gnat_tree_code {
/* Ada uses the lang_decl and lang_type fields to hold a tree. */
union lang_tree_node
GTY((desc ("0"),
- chain_next ("(union lang_tree_node *)GENERIC_NEXT (&%h.generic)")))
+ chain_next ("(union lang_tree_node *)GENERIC_NEXT (&%h.t)")))
{
union tree_node GTY((tag ("0"))) t;