]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Check in the right patch with the right comment.
authorAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 6 Dec 2003 03:53:02 +0000 (19:53 -0800)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 6 Dec 2003 03:53:02 +0000 (19:53 -0800)
From-SVN: r74358

gcc/gcc.c

index f9ff430d8b0df8ea81e4dcdbd0d5b59c3c0f30a7..e3a7a5d1760657bd486d20f66f979c72cd81754d 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2652,9 +2652,11 @@ execute ()
       fflush (stderr);
       if (verbose_only_flag != 0)
         {
-          /* If verbose_only_flag, then the execution_count is incremented
-             because verbose_only_flag should act as the spec was excuted.  */
-          execution_count++;
+         /* verbose_only_flag should act as if the spec was
+            executed, so increment execution_count before
+            returning.  Theis prevent spurious warnings about
+            unused linker input files, etc.  */
+         execution_count++;
          return 0;
         }
 #ifdef DEBUG