]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* collect2.c (main): Do not imply verbose output with LTO and linker plugin.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 16:58:59 +0000 (16:58 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 16:58:59 +0000 (16:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167255 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c

index ac49adc074cc3923eb8d45dcbd08c256a68c5231..a12bbdef1909e555cbda9a2acb0041faf45abfa0 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-29  Jan Hubicka  <jh@suse.cz>
+
+       * collect2.c (main): Do not imply verbose output with LTO and linker plugin.
+
 2010-11-29  Dodji Seketeli  <dodji@redhat.com>
 
        * dwarf2out.c (print_die): Print the address of the current DIE or
index df91d34117dcdcb0cf36da71471f9a0172dccac4..0b470271e4ae5f13ab917e862578007701d0dacc 100644 (file)
@@ -1146,8 +1146,6 @@ main (int argc, char **argv)
   int num_c_args;
   char **old_argv;
 
-  bool use_verbose = false;
-
   old_argv = argv;
   expandargv (&argc, &argv);
   if (argv != old_argv)
@@ -1206,14 +1204,10 @@ main (int argc, char **argv)
          no_partition = true;
         else if ((! strncmp (argv[i], "-flto=", 6)
                  || ! strcmp (argv[i], "-flto")) && ! use_plugin)
-         {
-           use_verbose = true;
-           lto_mode = LTO_MODE_WHOPR;
-         }
+         lto_mode = LTO_MODE_WHOPR;
         else if (! strcmp (argv[i], "-plugin"))
          {
            use_plugin = true;
-           use_verbose = true;
            lto_mode = LTO_MODE_NONE;
          }
 #ifdef COLLECT_EXPORT_LIST
@@ -1428,11 +1422,6 @@ main (int argc, char **argv)
              *c_ptr++ = xstrdup (q);
            }
        }
-      if (use_verbose && *q == '-' && q[1] == 'v' && q[2] == 0)
-       {
-         /* Turn on trace in collect2 if needed.  */
-         vflag = true;
-       }
     }
   obstack_free (&temporary_obstack, temporary_firstobj);
   *c_ptr++ = "-fno-profile-arcs";