Commit 37fc948f by Jan Hubicka Committed by Jan Hubicka

* collect2.c (main): Do not imply verbose output with LTO and linker plugin.

From-SVN: r167255
parent 98c1c7cd
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
......@@ -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";
......
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