[match-and-simplify] fix segfault in parser::parse_for
Prathamesh Kulkarni
bilbotheelffriend@gmail.com
Wed Oct 29 13:22:00 GMT 2014
genmatch segfaults if user-defined operator is not specified.
eg:
(for (oper1 oper2...)
pattern)
* genmatch.c
(parser::parse_for): Call peek instead of peek_ident.
Thanks,
Prathamesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 389 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141029/77394e3d/attachment.bin>
More information about the Gcc-patches
mailing list