On Sun, Mar 16, 2014 at 1:21 PM, Prathamesh Kulkarni <bilbotheelffri...@gmail.com> wrote: > In c_expr::c_expr, shouldn't OP_C_EXPR be passed to operand > constructor instead of OP_EXPR ?
Indeed - I have committed the fix. Thanks, Richard. > This caused segfault for patterns when "simplification" operand was > only c_expr (patch attached). > > * genmatch.c (c_expr::c_expr): use OP_C_EXPR instead of OP_EXPR in > call to operand constructor.