f_options x common.opt

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Fri Jun 11 15:49:00 GMT 2004


Hello,

> > I am somewhat confused about how to add new options.  There is
> > common.opt and relater machinery, but still there also is f_options
> > array in toplev.c.
> > 
> > So where should the options be added?  Just to common.opt, or to
> > both?  If to both, why would we have such stupidity?  If just to
> > common.opt, why does f_options still exist?
> 
> f_options is used only for -fverbose-asm.  The common.opt format could be
> extended to list variables for which declarations are to be generated (and
> indeed thus get rid of much of the switch code just assigning to such
> variables) so as to obsolete f_options.

OK, I'm working on that.

Zdenek



More information about the Gcc mailing list