2010-10-28 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Oct 2011 09:46:26 +0000 (09:46 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Oct 2011 09:46:26 +0000 (09:46 +0000)
commitb84346c686e626d417ce8a11fdae2034e672eb6e
tree2084ee4c9833905c4cdab3491aa8f44e7bfffd24
parent1fdef5d42ac7ff8801d33bcc36db4206636f8c35
2010-10-28  Richard Guenther  <rguenther@suse.de>

PR driver/50876
* lto-wrapper.c (get_options_from_collect_gcc_options):
Properly count arguments.
(run_gcc): Use an obstack to collect argv, properly separate
switches and their arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180608 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto-wrapper.c