This is the mail archive of the gcc-patches@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]

Re: Tighten gengtype array error


Richard Sandiford wrote:

> gcc/
> 	* gengtype.c (start_root_entry): New function, split out from
> 	write_root.  Check whether V is null and raise an error if so.
> 	(write_field_root): Check for V being null.  Don't raise an error here;
> 	set V to null instead.
> 	(write_root): Update comment above function.  Use start_root_entry.

OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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