PATCH: Fix ada/decl.c fallout from init-priority patch
Mark Mitchell
mark@codesourcery.com
Sun Feb 25 23:36:00 GMT 2007
Toon reports that my init-priority change did indeed break Ada; I missed
a spot where the tree_map hierarchy refactoring affected Ada.
I've checked in this patch to (hopefully!) correct the problem.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2007-02-25 Mark Mitchell <mark@codesourcery.com>
* decl.c (annotate_value): Adjust for refactoring of tree_map
hierarchy.
Index: decl.c
===================================================================
--- decl.c (revision 122315)
+++ decl.c (working copy)
@@ -6016,7 +6016,7 @@ annotate_value (tree gnu_size)
if (h)
{
*h = ggc_alloc (sizeof (struct tree_int_map));
- (*h)->from = gnu_size;
+ (*h)->base.from = gnu_size;
(*h)->to = ret;
}
More information about the Gcc-patches
mailing list