ada-builtin-types.def: New file.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 27 May 2019 11:34:35 +0000 (11:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 27 May 2019 11:34:35 +0000 (11:34 +0000)
commitb9778c45fc1cd361c3012e30aeb02b53cb3e531c
tree2727797e25c51e698f4e66bd2459562c7f4b288a
parentb4c056d2df1264bad4f837b4ec743461f68edff1
ada-builtin-types.def: New file.

* gcc-interface/ada-builtin-types.def: New file.
* gcc-interface/ada-builtins.def: Likewise.
* gcc-interface/ada-tree.h (BUILT_IN_LIKELY): New macro.
(BUILT_IN_UNLIKELY): Likewise.
* gcc-interface/trans.c (independent_iterations_p): Initialize the
auto-vector to 16 elements.
(Call_to_gnu): Remove local variable and change the vector of actual
parameters to an auto-vector.  Do not convert actual parameters to
the argument type for front-end built-in functions.  Add support for
front-end built-in functions.
(build_noreturn_cond): Use internal instead of built-in function.
* gcc-interface/utils.c (c_builtin_type): Include ada-builtin-types.def
(install_builtin_function_types): Likewise.
(install_builtin_functions): Include ada-builtins.def first.

From-SVN: r271658
gcc/ada/ChangeLog
gcc/ada/gcc-interface/ada-builtin-types.def [new file with mode: 0644]
gcc/ada/gcc-interface/ada-builtins.def [new file with mode: 0644]
gcc/ada/gcc-interface/ada-tree.h
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/expect2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/expect2_pkg.ads [new file with mode: 0644]