r218786 - in /trunk/gcc: ChangeLog genmatch.c
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Tue Dec 16 18:24:00 GMT 2014
Author: rguenth
Date: Tue Dec 16 18:24:55 2014
New Revision: 218786
URL: https://gcc.gnu.org/viewcvs?rev=218786&root=gcc&view=rev
Log:
2014-12-16 Richard Biener <rguenther@suse.de>
* genmatch.c (parser::parser): Initialize capture_ids.
(parser::parse_pattern): Properly allocate capture_ids before
using them. Set capture_ids to zero when its lifetime is
supposed to finish.
(parser::parse_simplify): Allocate capture_ids only if
required.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/genmatch.c
More information about the Gcc-cvs
mailing list