7 GNAT Implementation Mode (the -gnatg switch)

-gnatg enables ‘GNAT implementation mode’, the internal compilation mode used when building GNAT itself and its runtime libraries. It is not intended for user application programs.

It implies -gnatw.ge (extended warning set, treated as errors) and -gnatyg (GNAT style checks).