summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/noinline2.ads
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-24 09:31:33 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-24 09:31:33 +0000
commit00b45d95805166718d9db3858d3c03fbac6c3c55 (patch)
treed6c908246fe03d3720172f85abf3377381bf02f9 /gcc/testsuite/gnat.dg/noinline2.ads
parentb14cf757ecf4b177d69f1d831b73f5f4d55bbdcc (diff)
downloadgcc-00b45d95805166718d9db3858d3c03fbac6c3c55.tar.gz
* gcc-interface/gigi.h (enum inline_status_t): New type.
(create_subprog_decl): Adjust prototype. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Adjust calls to create_subprog_decl. (get_minimal_subprog_decl): Likewise. * gcc-interface/trans.c (gigi): Likewise. (build_raise_check): Likewise. (establish_gnat_vms_condition_handler): Likewise. (Compilation_Unit_to_gnu): Likewise. (gnat_to_gnu): Likewise. * gcc-interface/utils.c (create_subprog_decl): Change inline_flag parameter to inline_status and implement for suppressed inlining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199286 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gnat.dg/noinline2.ads')
-rw-r--r--gcc/testsuite/gnat.dg/noinline2.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/noinline2.ads b/gcc/testsuite/gnat.dg/noinline2.ads
new file mode 100644
index 00000000000..f0a18530a96
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/noinline2.ads
@@ -0,0 +1,5 @@
+package Noinline2 is
+
+ function F (A, B : Integer) return Integer;
+
+end Noinline2;