* toplev.c (lang_independent_init): Round up identifier size.

From-SVN: r49291
This commit is contained in:
Roman Zippel 2002-01-28 18:37:58 +00:00 committed by Richard Henderson
parent 5721cd8402
commit e83cb5f017
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-01-28 Roman Zippel <zippel@linux-m68k.org>
* toplev.c (lang_independent_init): Round up identifier size.
2002-01-28 Richard Earnshaw <rearnsha@arm.com>
* config.gcc: Revert previous change.

View file

@ -5012,8 +5012,8 @@ lang_independent_init ()
/* Set the language-dependent identifier size. */
tree_code_length[(int) IDENTIFIER_NODE]
= ((lang_hooks.identifier_size - sizeof (struct tree_common))
/ sizeof (tree));
= ((lang_hooks.identifier_size - sizeof (struct tree_common)
+ sizeof (tree) - 1) / sizeof (tree));
/* Initialize the garbage-collector, and string pools. */
init_ggc ();