re PR driver/50876 (unrecognized command line option '-Zmultiply_defined suppress...
authorRichard Guenther <rguenther@suse.de>
Fri, 28 Oct 2011 09:46:26 +0000 (09:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 28 Oct 2011 09:46:26 +0000 (09:46 +0000)
commitef6f874e5c574ba301d2498150e5432ec89668b6
tree2084ee4c9833905c4cdab3491aa8f44e7bfffd24
parent4c16fa77142c5d2b35f12a6f26c8799eb6c9d8a9
re PR driver/50876 (unrecognized command line option '-Zmultiply_defined suppress regressions for lto.exp on x86_64-apple-darwin11)

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.

From-SVN: r180608
gcc/ChangeLog
gcc/lto-wrapper.c