core: add tree-node comments
authorNathan Sidwell <nathan@acm.org>
Mon, 13 Jul 2020 20:52:03 +0000 (13:52 -0700)
committerNathan Sidwell <nathan@acm.org>
Tue, 14 Jul 2020 13:11:53 +0000 (06:11 -0700)
commit6039cb96d1014373470a27f02e24c2c5e821a06c
tree89687a0ebd054aca8b3de9d485f086e3e93325bf
parent5ed9a5d02fbd446331593ea9804ff55624ad7fba
core: add tree-node comments

As we've moved to 64-bit systems, the padding information has become
conditionally inaccurate.  I also hit cases where invalid tree codes
did not get flagged as invalid.

gcc/
* tree-core.h (tree_decl_with_vis, tree_function_decl):
Note additional padding on 64-bits
* tree.c (cache_integer_cst): Note why no caching of enum literals.
(get_tree_code_name): Robustify error case.
gcc/tree-core.h
gcc/tree.c