]> git.ipfire.org Git - thirdparty/gcc.git/commit
gengtype.c (start_root_entry): New function, split out from write_root.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 19 Jul 2010 19:38:42 +0000 (19:38 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 19 Jul 2010 19:38:42 +0000 (19:38 +0000)
commitb08e03394034a615de40842823ab849d78c8ecb2
treeb8c7274fbcd315cae8aea11f8e2b6c9c724f0d0c
parent974df0f87f1ecd3da2b2f88b807aa9f6c0f23770
gengtype.c (start_root_entry): New function, split out from write_root.

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.

From-SVN: r162314
gcc/ChangeLog
gcc/gengtype.c