OSDN Git Service

2009-04-16 Rafael Avila de Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 2009 12:57:50 +0000 (12:57 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 2009 12:57:50 +0000 (12:57 +0000)
commit39932bd229b90bbd1991a2663534b0facd237634
tree880209f07ea612d1ce7811a96cabe4898bce80b8
parent4e06d1d1057bacd630407c4fc4b731e4207152e3
2009-04-16  Rafael Avila de Espindola  <espindola@google.com>

* common.opt (fversion): New.
* gcc.c (print_version): New.
(process_command): Don't print the version. Just set print_version.
(main): Print version. Call subprocesses if print_version and
verbose_flag are set.
* opts.c (common_handle_option): Handle OPT_fversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146183 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/common.opt
gcc/gcc.c
gcc/opts.c