f_options x common.opt
Joseph S. Myers
jsm@polyomino.org.uk
Fri Jun 11 08:23:00 GMT 2004
On Fri, 11 Jun 2004, Zdenek Dvorak wrote:
> 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.
--
Joseph S. Myers
jsm@polyomino.org.uk
More information about the Gcc
mailing list