]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (compatible_signatures_p): New function.
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 3 Jan 2005 15:35:16 +0000 (16:35 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 3 Jan 2005 15:35:16 +0000 (16:35 +0100)
commitc5e12904bcca3866f419bb91365dbdfb052b8782
tree53590e1867ac15c4a766621c129b8b6971ad96f6
parentddda9d0f19611a053a759c415cc2f835c1051f22
decl.c (compatible_signatures_p): New function.

* decl.c (compatible_signatures_p): New function. The intended purpose
is to check if two function signatures for a call-site and a callee are
compatible enough for the call to be valid. The underlying purpose is
to check if a call to a mapped builtin is using the right interface.
The current code actually does not check antyhing - this a placeholder
for future refinements.
(gnat_to_gnu_entity) <E_Subprogram_Call>: Add preliminary bits to handle
builtin calls for convention Intrinsic.

* gigi.h (builtin_decl_for): Declare (new function).

* utils.c (gnat_install_builtins): Install the target specific builtins.
(builtin_decl_for): New function, provide a dummy body for now.

From-SVN: r92833
gcc/ada/decl.c
gcc/ada/gigi.h
gcc/ada/utils.c