]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Pragma Ada_XX not propagated from library level spec to body
authorJavier Miranda <miranda@adacore.com>
Mon, 3 Mar 2025 11:34:35 +0000 (11:34 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:07 +0000 (08:32 +0200)
commit108e346ced2a5589b90577f25c9559a61ae95eb9
tree5ed8bceb5cf329d02d0553308d67173401757bab
parentfefac6864133950da1c61ab81c56bc3c68a57fcb
ada: Pragma Ada_XX not propagated from library level spec to body

Add documentation to pragmas Ada_83, Ada_95, Ada_05, Ada_12,
and Ada_2022: when placed before a library level package
specification they are not propagated to the corresponding
package body; they must be added explicitly to the package
body.

gcc/ada/ChangeLog:

* doc/gnat_rm/implementation_defined_pragmas.rst: Adding
documentation.
* doc/gnat_ugn/the_gnat_compilation_model.rst: ditto.
* gnat_rm.texi: Regenerate.
* gnat_ugn.texi: Regenerate.
gcc/ada/doc/gnat_rm/implementation_defined_pragmas.rst
gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst
gcc/ada/gnat_rm.texi
gcc/ada/gnat_ugn.texi