This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Patch: add -fuse-global-var


On Mon, 2004-01-19 at 17:43, Dale Johannesen wrote:

> Well, all right.  It's documented in either case, and seems to me 
> --param is
> more obscure for users.  Another mysterious big number, as opposed to
> "on / off / let the compiler choose".  Why do you prefer --param?
> 
Because .global_var is very much dark magic as far as users are
concerned.  If users are going to mess with .global_var, they'd better
know exactly what they're doing.  And if they know exactly what they're
doing, we want them to be able to tweak it all.

So, I think there should be two --params, one for the number_of_calls
threshold.  Another one for the number_of_clobbered_vars threshold (see
the end of find_referenced_vars).


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]