This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r148574 - in /branches/gc-improv/gcc: ChangeLog...


Author: lauras
Date: Wed Jun 17 07:14:05 2009
New Revision: 148574

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148574
Log:
2009-06-17  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	* c-tree.h (push_init_level, pop_init_level, set_init_index): new
	argument of type struct obstack *.
	(set_init_label, process_init_element): Likewise.

	* c-parser.c (c_parser_braced_init): New variable
	braced_init_obstack.  Initialize obstack, pass it down, destroy
	afterwards.
	(c_parser_initelt, c_parser_initval): New argument
	braced_init_obstack, pass it further down.

	* c-typeck.c (push_init_level): New argument braced_init_obstack,
	pass it further down.
	(pop_init_level, set_designator, set_init_index): Likewise.
	set_nonincremental_init): Likewise.
	(set_init_label, set_nonincremental_init): Likewise.
	(set_nonincremental_init_from_string, find_init_member): Likewise.
	(output_init_element, output_pending_init_elements): Likewise.
	(process_init_element): Likewise.

	(push_range_stack): New argument braced_init_obstack.  Allocate p
	from obstack instead of GC.
	(add_pending_init): New argument braced_init_obstack.  Allocate r
	from obstack instead of GC.

Modified:
    branches/gc-improv/gcc/ChangeLog.gc-improv
    branches/gc-improv/gcc/c-parser.c
    branches/gc-improv/gcc/c-tree.h
    branches/gc-improv/gcc/c-typeck.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]