OSDN Git Service

* exp_ch6.adb (Expand_Call): Add comment on handling of back end
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 2004 11:27:00 +0000 (11:27 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 2004 11:27:00 +0000 (11:27 +0000)
commitf4d93199b638ffe043951de2197d6018db1451fb
treee3354052180da5126261623c30a67e2d42ebd791
parentaae50ddd3a4c0afb3725b35cafe29d7581b6ecd7
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91882 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/exp_ch6.adb
gcc/ada/exp_intr.adb
gcc/ada/sem_prag.adb