]> git.ipfire.org Git - thirdparty/gcc.git/commit
core: add tree-node comments
authorNathan Sidwell <nathan@acm.org>
Mon, 13 Jul 2020 20:52:03 +0000 (13:52 -0700)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:17:39 +0000 (13:17 -0300)
commite6392e0b9008701ac2c6a618c26475171e3d12ae
tree6f3f60881a9b6bff0dc7b492e476fe0b29d4e909
parent8dc04f407dfe11bd0d155860206071619964201a
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