Commit 9c4faac1 by Richard Kenner

(main): For -V output, give both driver and compiler versions, if they

differ.

From-SVN: r8472
parent 96abdcb1
......@@ -4351,7 +4351,12 @@ main (argc, argv)
if (verbose_flag)
{
fprintf (stderr, "gcc version %s\n", version_string);
if (! strcmp (version_string, compiler_version))
fprintf (stderr, "gcc version %s\n", version_string);
else
fprintf (stderr, "gcc driver version %s executing gcc version %s\n",
version_string, compiler_version);
if (n_infiles == 0)
exit (0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment