This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Option handling and PR 37565
- From: Ian Lance Taylor <iant at google dot com>
- To: sje at cup dot hp dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 29 May 2009 09:38:17 -0700
- Subject: Re: RFC: Option handling and PR 37565
- References: <200905291602.n4TG2N913001@lucas.cup.hp.com>
Steve Ellcey <sje@cup.hp.com> writes:
> So instead of
> if (flag_var_tracking)
> we would have
> if (targetm.get_optimization_flag_value(OPT_fvar_tracking))
I don't particularly want to have to make an indirect function call
every time we check a flag. I don't see why we should check every time
when we can determine the value once when the compiler starts.
Also, we would still need a place to give backend warnings like
unwind tables currently require either a frame pointer or -maccumulate-outgoing-args for correctness
So I guess I don't much like the idea.
Ian