Commit 438d9658 by Hristian Kirtchev Committed by Pierre-Marie de Rodat

[Ada] Update the section on resolving elaboration circularities

2019-07-03  Hristian Kirtchev  <kirtchev@adacore.com>

gcc/ada/

	* doc/gnat_ugn/elaboration_order_handling_in_gnat.rst: Update
	the section on resolving elaboration circularities to eliminate
	certain combinations of switches which together do not produce
	the desired effect and confuse users.
	* gnat_ugn.texi: Regenerate.

From-SVN: r272966
parent 97edd426
2019-07-03 Hristian Kirtchev <kirtchev@adacore.com>
* doc/gnat_ugn/elaboration_order_handling_in_gnat.rst: Update
the section on resolving elaboration circularities to eliminate
certain combinations of switches which together do not produce
the desired effect and confuse users.
* gnat_ugn.texi: Regenerate.
2019-07-03 Arnaud Charlet <charlet@adacore.com> 2019-07-03 Arnaud Charlet <charlet@adacore.com>
* bindgen.adb (Gen_Main): Disable generation of reference to * bindgen.adb (Gen_Main): Disable generation of reference to
......
...@@ -1056,17 +1056,17 @@ available. ...@@ -1056,17 +1056,17 @@ available.
If the compilation was performed using a post-18.x version of GNAT, consider If the compilation was performed using a post-18.x version of GNAT, consider
using the legacy elaboration model, in the following order: using the legacy elaboration model, in the following order:
- Use the relaxed static elaboration model, with compiler switch
:switch:`-gnatJ`.
- Use the relaxed dynamic elaboration model, with compiler switches
:switch:`-gnatE` :switch:`-gnatJ`.
- Use the legacy static elaboration model, with compiler switch - Use the legacy static elaboration model, with compiler switch
:switch:`-gnatH`. :switch:`-gnatH`.
- Use the legacy dynamic elaboration model, with compiler switches - Use the legacy dynamic elaboration model, with compiler switches
:switch:`-gnatH` :switch:`-gnatE`. :switch:`-gnatE` :switch:`-gnatH`.
- Use the relaxed legacy static elaboration model, with compiler switches
:switch:`-gnatH` :switch:`-gnatJ`.
- Use the relaxed legacy dynamic elaboration model, with compiler switches
:switch:`-gnatH` :switch:`-gnatJ` :switch:`-gnatE`.
* *Suppress all elaboration checks* * *Suppress all elaboration checks*
......
...@@ -28348,20 +28348,20 @@ using the legacy elaboration model, in the following order: ...@@ -28348,20 +28348,20 @@ using the legacy elaboration model, in the following order:
@itemize - @itemize -
@item @item
Use the legacy static elaboration model, with compiler switch Use the relaxed static elaboration model, with compiler switch
@code{-gnatH}. @code{-gnatJ}.
@item @item
Use the legacy dynamic elaboration model, with compiler switches Use the relaxed dynamic elaboration model, with compiler switches
@code{-gnatH} @code{-gnatE}. @code{-gnatE} @code{-gnatJ}.
@item @item
Use the relaxed legacy static elaboration model, with compiler switches Use the legacy static elaboration model, with compiler switch
@code{-gnatH} @code{-gnatJ}. @code{-gnatH}.
@item @item
Use the relaxed legacy dynamic elaboration model, with compiler switches Use the legacy dynamic elaboration model, with compiler switches
@code{-gnatH} @code{-gnatJ} @code{-gnatE}. @code{-gnatE} @code{-gnatH}.
@end itemize @end itemize
@item @item
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment