From f087ea4445c639926873179da29955c3a968ddc7 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 31 Jul 2014 14:51:34 +0200 Subject: [multiple changes] 2014-07-31 Hristian Kirtchev * sem_util.adb (Is_Effectively_Volatile): New routine. 2014-07-31 Fedor Rybin * gnat_ugn.texi: Document --test-duration option for gnattest. 2014-07-31 Javier Miranda * opt.ads (Back_End_Inlining): New variable which controls activation of inlining by back-end expansion. * gnat1drv.adb (Adjust_Global_Switches): Initialize Back_End_Inlining * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Do not build the body to be inlined by the frontend if Back_End_Inlining is enabled. * exp_ch6.adb (Register_Backend_Call): Moved to inline.adb. (Expand_Call): If backend inlining is enabled let the backend to handle inlined subprograms. * inline.ads (Register_Backend_Call): Moved here from exp_ch6 * inline.adb (Register_Backend_Call): Moved here from exp_ch6. (Add_Inlined_Subprogram): Add subprograms when Back_End_Inlining is set. (Must_Inline): Do not return Inline_Call if Back_End_Inlining is enabled. * debug.adb Document -gnatd.z * fe.h Import Back_End_Inlining variable. * gcc-interface/utils.c (create_subprog_decl): If Back_End_Inlining is enabled then declare attribute "always inline" 2014-07-31 Robert Dewar * a-ngelfu.ads: Minor comment fix. From-SVN: r213353 --- gcc/ada/gcc-interface/gigi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/ada/gcc-interface/gigi.h') diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h index 6d83203..e9e634e 100644 --- a/gcc/ada/gcc-interface/gigi.h +++ b/gcc/ada/gcc-interface/gigi.h @@ -449,7 +449,9 @@ enum inline_status_t /* No inlining is requested for the subprogram. */ is_disabled, /* Inlining is requested for the subprogram. */ - is_enabled + is_enabled, + /* Inlining is required for the subprogram. */ + is_required }; extern GTY(()) tree gnat_std_decls[(int) ADT_LAST]; -- cgit v1.1