r196305 - in /trunk/gcc: ChangeLog Makefile.in ...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Feb 27 07:28:00 GMT 2013


Author: jakub
Date: Wed Feb 27 07:28:09 2013
New Revision: 196305

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196305
Log:
	* opts.h: Include obstack.h.
	(opts_concat): New prototype.
	(opts_obstack): New declaration.
	* opts.c (opts_concat): New function.
	(opts_obstack): New variable.
	(init_options_struct): Call gcc_init_obstack on opts_obstack.
	(finish_options): Use opts_concat instead of concat
	and XOBNEWVEC instead of XNEWVEC.
	* opts-common.c (generate_canonical_option, decode_cmdline_option,
	generate_option): Likewise.
	* Makefile.in (OPTS_H): Depend on $(OBSTACK_H).
	* lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/lto-wrapper.c
    trunk/gcc/opts-common.c
    trunk/gcc/opts.c
    trunk/gcc/opts.h



More information about the Gcc-cvs mailing list