Ilya Zakharevich on Wed, 26 Jun 2002 12:38:48 -0400

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PATCH 2.2.2] mneumonics for flags

On Wed, Jun 26, 2002 at 06:19:57PM +0200, Bill Allombert wrote:
> > > With the GP2C parser, post-processing can easily be implemented to
> > > translate flag string into numerical value at compile time.
> > 
> > I'm confused: Is not this a plus?
> What I meant is that using t_STRING instead of keyword make no performance
> penalty for both system.

This is not what you wrote - and not what actually happens: with 'M'
the compile-time optimization is possible, with 'G' not.

> > > 3) This patch does not provide a similar interface to libpari programming.
> > > It is important that libpari and GP interface are kept on a par.
> > 
> > ???  The parse_option_string() API is available...

> Parsing options string at run time is not desirable. Option should
> be converted to numeric at compile time.

Well, if you want to patch gcc to make it capable enough, you know
where to send patches.  I do not have such ambitions.  ;-)

> We need to be careful when adding a new interface to GP if we want to
> be able to maintain compatibility with it in the future.

This is not as constructive as one would wish to...