> This change broke Ada bootstrap, because the FE doesn't have any tree_size
> langhook, but has one language specific tcc_type tree -
> UNCONSTRAINED_ARRAY_TYPE.

There should be a requirement to test all languages for this kind of changes.

> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
> 
> 2017-10-17  Jakub Jelinek  <ja...@redhat.com>
> 
>       * langhooks.h (struct lang_hooks): Document that tree_size langhook
>       may be also called on tcc_type nodes.
>       * langhooks.c (lhd_tree_size): Likewise.
> 
>       * gcc-interface/misc.c (gnat_tree_size): New function.
>       (LANG_HOOKS_TREE_SIZE): Redefine.

OK, thanks.

-- 
Eric Botcazou

Reply via email to