]> git.ipfire.org Git - thirdparty/gcc.git/commit
driver, toplevel: Avoid emitting the version information twice.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 22 Jan 2023 21:12:15 +0000 (21:12 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 2 Feb 2023 16:17:58 +0000 (16:17 +0000)
commitf25dd779d44fb75a6c5e1c73e5bf2c85af180026
tree2a299deb5d79530713336cafe03d8990e61f598e
parent9c7e898bbd643f45a553afcb5204717048205a1a
driver, toplevel: Avoid emitting the version information twice.

For a regular compile job, with -v we emit the GCC version information
twice - once from main() and once from process_options().

We do not need to output the second header.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:

* toplev.cc (toplev::main): Only print the version information header
from toplevel main().
gcc/toplev.cc