On Thu, Mar 10, 2011 at 11:23:10PM -0500, Nathan Froyd wrote: > Now that we have a structure where not every node might include > TREE_CHAIN or TREE_TYPE, we need to make sure that when we call said > accessors that the argument is properly typed. This requires a number > of changes:
http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00565.html Ping. I was going to commit this, but I realized I hadn't received approval for the go or LTO bits. They probably qualify as obvious, given that they're exactly the same as all the other languages, but just to rubber-stamp everything... > gcc/go/ > * go-lang.c (union lang_tree_node): Check for TS_COMMON before > calling TREE_CHAIN. > > gcc/lto/ > * lto-tree.h (union lang_tree_node): Check for TS_COMMON before > calling TREE_CHAIN. > * lto.c (lto_fixup_common): Likewise. Thanks, -Nathan