[Ada] Fix layout of pragma Inline in generated AST unit

Pierre-Marie de Rodat derodat@adacore.com
Fri Jan 7 16:27:24 GMT 2022

Make the generated nmake.ads unit look more like it was written with
GNAT style rules in mind; semantics is unaffected.

Cleanup related to fix of default initialization in multi-dimensional
arrays, which used to explicitly call the Nmake.Make_Null routine.

Tested on x86_64-pc-linux-gnu, committed on trunk


	* gen_il-gen.adb (Put_Make_Decls): Put pragma Inline in a
	dedicated line, so that the current indentation is taken into
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 608 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20220107/ab36219e/attachment.bin>

More information about the Gcc-patches mailing list