OSDN Git Service

* opts-common.c (prune_options): Make static. Work with decoded
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Sep 2010 20:19:39 +0000 (20:19 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Sep 2010 20:19:39 +0000 (20:19 +0000)
commite62df35b0d547ca7ba0d45b2e21935f70ca802c2
tree6f696b6dcc2f7574f8c3f96ec2645c09aa05edd8
parent5789e05bf0e84052ed8a54b0cd695725f3dfa2ce
* opts-common.c (prune_options): Make static.  Work with decoded
options.
(decode_cmdline_options_to_array): Call prune_options.  Don't
resize option array here.
* opts.h (prune_options): Remove prototype.
* gcc.c (process_command): Take decoded options; don't call
decode_cmdline_options_to_array here.  Use decoded options for
argv[0].
(main): Call decode_cmdline_options_to_array here instead of
prune_options.  Update call to process_command.
* config/darwin-driver.c: Include opts.h.
(darwin_default_min_version): Work with decoded options.  Don't
handle -b or -V here.
* config/darwin.h (darwin_default_min_version): Update prototype.
(GCC_DRIVER_HOST_INITIALIZATION): Update call to
darwin_default_min_version.
* config/i386/cygwin.h (mingw_scan): Update prototype.
(GCC_DRIVER_HOST_INITIALIZATION): Update call to mingw_scan.
* config/i386/cygwin1.c: Include opts.h.
(mingw_scan): Work with decoded options.
* config/i386/t-cygwin (cygwin1.o): Update dependencies.
* config/t-darwin (darwin-driver.o): Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164532 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/darwin-driver.c
gcc/config/darwin.h
gcc/config/i386/cygwin.h
gcc/config/i386/cygwin1.c
gcc/config/i386/t-cygwin
gcc/config/t-darwin
gcc/gcc.c
gcc/opts-common.c
gcc/opts.h