This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 02/18] enforce TREE_CHAIN and TREE_TYPE accesses
> gcc/ada/
> * gcc-interface/ada-tree.h (union lang_tree_node): Check for
> TS_COMMON before calling TREE_CHAIN.
> * gcc-interface/misc.c (gnat_init_ts): New function.
> (LANG_HOOKS_INIT_TS): Define.
I presume that PLUS_NOMOD_EXPR, MINUS_NOMOD_EXPR and ATTR_ADDR_EXPR need not
be marked in gnat_init_ts? If so, please add a single comment to that effect
in the function and reorder the lines to match the order in ada-tree.def.
OK with these changes.
--
Eric Botcazou