]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Print gnat diagnostics with the gnat command
authorViljar Indus <indus@adacore.com>
Tue, 25 Nov 2025 12:46:08 +0000 (14:46 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 9 Jan 2026 10:57:19 +0000 (11:57 +0100)
commit92fcd5740aefe9dc65d45e714e01edfc421e49f5
tree769e646611bd3498801829a5bc9a2082b4fb1ea0
parenta9b17a06b23de1fdc9f39e63bcb32a3397e81e49
ada: Print gnat diagnostics with the gnat command

Remove the support for printing the diagnostic report
in the compiler when -gnatd_E is used. Instead print it
when the "gnat --diagnostics" command is used.

gcc/ada/ChangeLog:

* debug.adb: remove use case for -gnatd_E
* errout.adb (Output_Messages): remove printing of
the diagnostic repository when -gnatd_E is used.
* gnatcmd.adb: Add support for printing the diagnostic repository.
gcc/ada/debug.adb
gcc/ada/errout.adb
gcc/ada/gnatcmd.adb