utils.c (update_pointer_to): Make a copy of the couple of FIELD_DECLs when...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 6 Apr 2007 09:41:07 +0000 (11:41 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 6 Apr 2007 09:41:07 +0000 (11:41 +0200)
commit737053d61e42154666df468ddc9caacfd173eaab
treed5b9f4634beaa53267b817a00ef21437ac8b97f8
parent3ce5f966ad256483220ae2d3ecbe9b0e1383fabd
utils.c (update_pointer_to): Make a copy of the couple of FIELD_DECLs when...

2007-04-06  Eric Botcazou <botcazou@adacore.com>
    Olivier Hainque  <hainque@adacore.com>

* utils.c (update_pointer_to): Make a copy of the couple of FIELD_DECLs
when updating the contents of the old pointer to an unconstrained array.
(end_subprog_body): Set error_gnat_node to Empty.
(write_record_type_debug_info): Do not be unduly sparing with our bytes.
(unchecked_convert): For subtype to base type conversions, require that
the source be a subtype if it is an integer type.
(builtin_decls): New global, vector of available builtin functions.
(gnat_pushdecl): Add global builtin function declaration nodes to the
builtin_decls list.
(gnat_install_builtins): Adjust comments.
(builtin_function): Set DECL_BUILTIN_CLASS and DECL_FUNCTION_CODE before
calling gnat_pushdecl, so that it knows when it handed a builtin
function declaration node.
(builtin_decl_for): Search the builtin_decls list.

From-SVN: r123609
gcc/ada/utils.c