]> git.ipfire.org Git - thirdparty/gcc.git/commit
exp_ch6.adb (Expand_Call): Add comment on handling of back end intrinsic
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 8 Dec 2004 11:27:00 +0000 (12:27 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 8 Dec 2004 11:27:00 +0000 (12:27 +0100)
commit98f01d532a15a16c5d9afb0d35c9ea18688d2541
treee3354052180da5126261623c30a67e2d42ebd791
parent2717634daab64ed32a49b329f61cf0064f80f046
exp_ch6.adb (Expand_Call): Add comment on handling of back end intrinsic

* exp_ch6.adb (Expand_Call): Add comment on handling of back end
intrinsic

* exp_intr.adb (Expand_Intrinsic_Call): Ignore unrecognized intrinsic,
leaving call unchanged.
This deals with the case where the pragma Import specified
an external name, to be handled by the back end.

* sem_prag.adb (Process_Import_Or_Interface): Do not check validity of
subprogram which is Imported with convention Intrinsic if an
External_Name argument is specified.
(Process_Import_Or_Interface): Properly diagnose link name argument.
(Inlining_Not_Possible): New name for Cannot_Inline, to avoid confusion
with Sem_Ch6.Cannot_Inline.
(Process_Inline): Provide separate warning for inapplicable inline
pragma.
(Cannot_Inline): Reject subprograms that have an at_end handler, so that
treatment is uniform on different targets.

From-SVN: r91882
gcc/ada/exp_ch6.adb
gcc/ada/exp_intr.adb
gcc/ada/sem_prag.adb