]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR driver/13211 (using -###, warns about unused linker file)
authorAndrew Pinski <pinskia@physics.uc.edu>
Sat, 6 Dec 2003 03:50:04 +0000 (03:50 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 6 Dec 2003 03:50:04 +0000 (19:50 -0800)
2003-12-05  Andrew Pinski <pinskia@physics.uc.edu>

        PR driver/13211
        * gcc.c (execute) Increment execution_count when returning
        early because verbose_only_flag is true.

From-SVN: r74357

gcc/ChangeLog
gcc/gcc.c

index 53bf0e8c476084d2434c0fdf086aa6e52cbbb9c5..9c2a485aea81b58876f8e6b3300e5120f260f06c 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-05  Andrew Pinski <pinskia@physics.uc.edu>
+
+       PR driver/13211
+       * gcc.c (execute) Increment execution_count when returning
+       early because verbose_only_flag is true.
+
 2003-12-05  Stuart Menefy <stuart.menefy@st.com>
            J"orn Rennecke <joern.rennecke@superh.com>
 
index 92d2e44cc0dc0866de2ddb0571a49aae6b140d10..f9ff430d8b0df8ea81e4dcdbd0d5b59c3c0f30a7 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2651,7 +2651,12 @@ execute ()
        }
       fflush (stderr);
       if (verbose_only_flag != 0)
-       return 0;
+        {
+          /* If verbose_only_flag, then the execution_count is incremented
+             because verbose_only_flag should act as the spec was excuted.  */
+          execution_count++;
+         return 0;
+        }
 #ifdef DEBUG
       notice ("\nGo ahead? (y or n) ");
       fflush (stderr);