From: Pierre-Marie de Rodat Date: Fri, 15 Dec 2017 10:28:14 +0000 (+0000) Subject: gcc/ada/ChangeLog: add entries missing from previous commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe663f3750d37cc7edacd07caf5872d18f04889f;p=gcc.git gcc/ada/ChangeLog: add entries missing from previous commit From-SVN: r255684 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 9077056ae25..5dcc378b5cb 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,54 @@ +2017-12-15 Ed Schonberg + + * exp_unst.adb (Unnest_Subprograms): Nothing to do if the main unit is + a generic package body. Unnesting is only an issue when generating + code, and if the main unit is generic then nested instance bodies have + not been created and analyzed, and unnesting will crash in the absence + of those bodies, + +2017-12-15 Hristian Kirtchev + + * inline.adb (Add_Inlined_Body): Do not add a function which is + completed by an expression function defined in the same context as the + initial declaration because the completing body is not in a package + body. + (Is_Non_Loading_Expression_Function): New routine. + +2017-12-15 Hristian Kirtchev + + * debug.adb: Move the functionality of -gnatdL to -gnatd_i. Restore + the behavior of -gnatdL from before revision 255412. + * sem_elab.adb: Update the section of compiler switches. + (Build_Call_Marker): Do not create a marker for a call which originates + from an expanded spec or body of an instantiated gener, does not invoke + a generic formal subprogram, the target is external to the instance, + and -gnatdL is in effect. + (In_External_Context): New routine. + (Process_Conditional_ABE_Activation_Impl): Update the uses of -gnatdL + and associated flag. + (Process_Conditional_ABE_Call): Update the uses of -gnatdL and + associated flag. + * switch-c.adb (Scan_Front_End_Switches): Switch -gnatJ now sets switch + -gnatd_i. + * exp_unst.adb: Minor typo fixes and edits. + +2017-12-15 Ed Schonberg + + * sem_ch6.adb (Possible_Freeze): Do not set Delayed_Freeze on an + subprogram instantiation, now that the enclosing wrapper package + carries an explicit freeze node. THis prevents freeze nodes for the + subprogram for appearing in the wrong scope. This is relevant when the + generic subprogram has a private or incomplete formal type and the + instance appears within a package that declares the actual type for the + instantiation, and that type has itself a delayed freeze. + +2017-12-15 Patrick Bernardi + + * doc/gnat_ugn/gnat_and_program_execution.rst: Removed references to + the environment variable GNAT_STACK_LIMIT from the Stack Overflow + Checking section as it is no longer used by any of our supported + targets. + 2017-12-15 Bob Duff * exp_ch6.adb (Expand_N_Extended_Return_Statement): If the