On 04/25/14 05:39, Prathamesh Kulkarni wrote:
On Thu, Apr 24, 2014 at 9:18 PM, Diego Novillo <dnovi...@google.com> wrote:
Please remember to send patches to gcc-patches.

I'm wondering if you couldn't just use std::string here.  No need to change
one complicated allocation scheme with another.
Since we were using c-styled strings throughout genmatch, I thought of
using obstack instead of std::string.
This patch uses std::string in parse_c_expr to build c-code string.
Should we also change AST (operand and subclasses) to use std::string
instead of c-styled strings ?
Yes, let's go with this.

Jeff

Reply via email to